org.jlab.coda.et
Class SystemTcpServer

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jlab.coda.et.SystemTcpServer
All Implemented Interfaces:
java.lang.Runnable

public class SystemTcpServer
extends java.lang.Thread

This class implements a thread which listens for users trying to connect to the ET system. It starts another thread for each tcp socket connection established to a user of the system.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) SystemTcpServer(SystemCreate _sys)
          Createes a new SystemTcpServer object.
 
Method Summary
 void run()
          Start thread to listen for connections and spawn off communication handling threads.
 
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

SystemTcpServer

SystemTcpServer(SystemCreate _sys)
Createes a new SystemTcpServer object.

Parameters:
_sys - ET system object
Method Detail

run

public void run()
Start thread to listen for connections and spawn off communication handling threads.