net.i2p.BOB
Class TCPlistener

java.lang.Object
  extended by net.i2p.BOB.TCPlistener
All Implemented Interfaces:
java.lang.Runnable

public class TCPlistener
extends java.lang.Object
implements java.lang.Runnable

Listen on TCP port and connect to I2P

Author:
sponge

Field Summary
 I2PServerSocket serverSocket
           
 I2PSocketManager socketManager
           
 
Constructor Summary
TCPlistener(java.net.ServerSocket listener, I2PSocketManager S, NamedDB info, NamedDB database, Log _log, java.util.concurrent.atomic.AtomicBoolean lives)
          Constructor
 
Method Summary
 void run()
          Simply listen on TCP port, and thread connections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

socketManager

public I2PSocketManager socketManager

serverSocket

public I2PServerSocket serverSocket
Constructor Detail

TCPlistener

TCPlistener(java.net.ServerSocket listener,
            I2PSocketManager S,
            NamedDB info,
            NamedDB database,
            Log _log,
            java.util.concurrent.atomic.AtomicBoolean lives)
Constructor

Parameters:
S -
info -
database -
_log -
Method Detail

run

public void run()
Simply listen on TCP port, and thread connections

Specified by:
run in interface java.lang.Runnable