nu.najt.kecon.jsocksproxy
Class JSocksProxy.ListeningThread

java.lang.Object
  extended by nu.najt.kecon.jsocksproxy.JSocksProxy.ListeningThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
JSocksProxy

protected class JSocksProxy.ListeningThread
extends java.lang.Object
implements java.lang.Runnable

This thread handle incoming connections for a specific listening address


Constructor Summary
JSocksProxy.ListeningThread(java.net.InetSocketAddress inetSocketAddress)
          ListeningThread constructor
 
Method Summary
 void run()
           
 void shutdown()
          Turn indication on that the thread should shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSocksProxy.ListeningThread

public JSocksProxy.ListeningThread(java.net.InetSocketAddress inetSocketAddress)
                            throws java.io.IOException
ListeningThread constructor

Parameters:
inetSocketAddress - the address that the listening thread should bind to
Throws:
java.io.IOException
Method Detail

run

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

shutdown

public void shutdown()
Turn indication on that the thread should shutdown