|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--sharpster.daemon.clientcommunication.ClientCommunication
Class responsible for handling the communication with the client.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
ClientCommunication(sharpster.common.Mutex globalMutex)
Constructs a client communication object |
|
| Method Summary | |
void |
initialize(sharpster.daemon.commandmanagement.InternalCommandManager icm)
|
void |
run()
Runs the thread When this method returns, the thread dies. |
void |
shutdown()
Notifies the thread to stop Sets shtudownRequested and starts to wait for the thread with join() |
| 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 |
| Constructor Detail |
public ClientCommunication(sharpster.common.Mutex globalMutex)
| Method Detail |
public void initialize(sharpster.daemon.commandmanagement.InternalCommandManager icm)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||