net.i2p.BOB
Class I2Plistener

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

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

Listen on I2P and connect to TCP

Author:
sponge

Field Summary
 I2PServerSocket serverSocket
           
 I2PSocketManager socketManager
           
 
Constructor Summary
I2Plistener(I2PServerSocket SS, I2PSocketManager S, NamedDB info, NamedDB database, Log _log, java.util.concurrent.atomic.AtomicBoolean lives)
          Constructor
 
Method Summary
 void run()
          Simply listen on I2P 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

I2Plistener

I2Plistener(I2PServerSocket SS,
            I2PSocketManager S,
            NamedDB info,
            NamedDB database,
            Log _log,
            java.util.concurrent.atomic.AtomicBoolean lives)
Constructor

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

run

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

Specified by:
run in interface java.lang.Runnable