net.vattp.tunnel
Class TCPConnectionListener

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--net.vattp.tunnel.TCPConnectionListener
All Implemented Interfaces:
Runnable

public class TCPConnectionListener
extends Thread

Untamed: Class to listen for incoming TCP connections to be proxied to vats which are using HTTP for communications.

Author:
Bill Frantz

Field Summary
private  ServerSocket myListen
           
private  Hashtable myVats
          map of logged on clients.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) TCPConnectionListener(ServerSocket listen, Hashtable vats)
           
 
Method Summary
 void run()
          Enabled:
 
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

myVats

private final Hashtable myVats
map of logged on clients. Key is vatID, data is HTTPClient


myListen

private final ServerSocket myListen
Constructor Detail

TCPConnectionListener

TCPConnectionListener(ServerSocket listen,
                      Hashtable vats)
Method Detail

run

public void run()
Enabled:

Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
java.lang.Thread#start(), java.lang.Thread#stop(), java.lang.Thread#Thread(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String), java.lang.Runnable#run()


comments?