gov.nasa.gsfc.drl.rtstps.server
Class ProxyThread

java.lang.Object
  extended by java.lang.Thread
      extended by gov.nasa.gsfc.drl.rtstps.server.ProxyThread
All Implemented Interfaces:
java.lang.Runnable

final class ProxyThread
extends java.lang.Thread

This class defines a socket interface in which a client can send commands to the RT-STPS server.


Nested Class Summary
(package private)  class ProxyThread.ProxyReader
           
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  boolean running
           
private  java.net.ServerSocket serverSocket
           
private  AbstractServer stpsServer
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ProxyThread(AbstractServer server, int port)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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

stpsServer

private AbstractServer stpsServer

serverSocket

private java.net.ServerSocket serverSocket

running

private boolean running
Constructor Detail

ProxyThread

ProxyThread(AbstractServer server,
            int port)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread