com.waveset.session
Class ServerThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.waveset.session.ServerThread
All Implemented Interfaces:
java.lang.Runnable

public class ServerThread
extends java.lang.Thread


Field Summary
static java.lang.String code_id
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ServerThread()
           
 
Method Summary
 int getPort()
           
 void println(java.lang.String msg)
           
 void refresh()
          Refresh information from the repository.
 void run()
          Run the dispatch thread.
 void shutdown()
          Request a stoppage of the thread.
 
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
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values
Constructor Detail

ServerThread

public ServerThread()
Method Detail

getPort

public int getPort()

shutdown

public void shutdown()
Request a stoppage of the thread.


refresh

public void refresh()
Refresh information from the repository.


run

public void run()
Run the dispatch thread. A VERY simple server event loop that only accepts connections on one socket with no interleaving.


println

public void println(java.lang.String msg)