sharpster.daemon.clientcommunication
Class ClientCommunication

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--sharpster.daemon.clientcommunication.ClientCommunication
All Implemented Interfaces:
java.lang.Runnable

public class ClientCommunication
extends java.lang.Thread

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

ClientCommunication

public ClientCommunication(sharpster.common.Mutex globalMutex)
Constructs a client communication object

Method Detail

initialize

public void initialize(sharpster.daemon.commandmanagement.InternalCommandManager icm)

run

public void run()
Runs the thread When this method returns, the thread dies.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

shutdown

public void shutdown()
Notifies the thread to stop Sets shtudownRequested and starts to wait for the thread with join()