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
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 |
myVats
private final Hashtable myVats
- map of logged on clients. Key is vatID, data is HTTPClient
myListen
private final ServerSocket myListen
TCPConnectionListener
TCPConnectionListener(ServerSocket listen,
Hashtable vats)
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?