dist1.acb.CBL
Class AdminSocket

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

public class AdminSocket
extends AbstractConnectionServer

AdminSocket (server)

Version:
$Revision: 1.24 $
Author:
Alexander Stasiv

Nested Class Summary
 class AdminSocket.AdminManager
          Admin 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 AdminSocket getInstance()
          Gets the instance of the AdminSocket 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 AdminSocket getInstance()
                               throws java.lang.Exception
Gets the instance of the AdminSocket 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 Admin
group - Thread group to which current thread will be related
Returns:
New object AdminManager

handleUnrecoverableError

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


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