dist1.acb.CBL
Class ClientSocket

java.lang.Object
  extended byjava.lang.Thread
      extended bydist1.acb.common.transport.AbstractConnectionServer
          extended bydist1.acb.CBL.ClientSocket
All Implemented Interfaces:
java.lang.Runnable

public class ClientSocket
extends AbstractConnectionServer

ClientSocket (server)

Version:
$Revision: 1.43 $
Author:
Alexander Stasiv

Nested Class Summary
 class ClientSocket.ClientManager
          Client manager
 
Field Summary
 
Fields inherited from class dist1.acb.common.transport.AbstractConnectionServer
log, socketPort
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
protected  AbstractPersonalManager createPersonalManager(java.net.Socket s, java.lang.ThreadGroup group)
          Concrete creating a PersonalManager
static ClientSocket getInstance()
          Gets the instance of the ClientSocket server
protected  void handleUnrecoverableError(java.lang.Throwable e)
           
 
Methods inherited from class dist1.acb.common.transport.AbstractConnectionServer
run
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static ClientSocket getInstance()
                                throws java.lang.Exception
Gets the instance of the ClientSocket server

Returns:
The instance value
Throws:
java.lang.Exception - Error while creating the handlers of requests

createPersonalManager

protected AbstractPersonalManager createPersonalManager(java.net.Socket s,
                                                        java.lang.ThreadGroup group)
Concrete creating a PersonalManager

Specified by:
createPersonalManager in class AbstractConnectionServer
Parameters:
s - A socket with connected client
group - Thread group to which current thread will be related
Returns:
New object ClientManager

handleUnrecoverableError

protected void handleUnrecoverableError(java.lang.Throwable e)
Specified by:
handleUnrecoverableError in class AbstractConnectionServer


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.