Package net.i2p.router.transport.ntcp
Class Reader
java.lang.Object
net.i2p.router.transport.ntcp.Reader
class Reader extends Object
Pool of running threads which will process any read bytes on any of the
NTCPConnections, including the decryption of the data read, connection
handshaking, parsing bytes into I2NP messages, etc.
-
Constructor Summary
Constructors Constructor Description Reader(RouterContext ctx)
-
Method Summary
Modifier and Type Method Description void
connectionClosed(NTCPConnection con)
void
startReading(int numReaders)
void
stopReading()
void
wantsRead(NTCPConnection con)
-
Constructor Details
-
Method Details
-
startReading
public void startReading(int numReaders) -
stopReading
public void stopReading() -
wantsRead
-
connectionClosed
-