Package net.i2p.router.transport.ntcp
Class Writer
- java.lang.Object
-
- net.i2p.router.transport.ntcp.Writer
-
class Writer extends Object
Pool of running threads which will transform the next I2NP message into something ready to be transferred over an NTCP connection, including the encryption of the data read.
-
-
Constructor Summary
Constructors Constructor Description Writer(RouterContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectionClosed(NTCPConnection con)
void
startWriting(int numWriters)
void
stopWriting()
void
wantsWrite(NTCPConnection con, String source)
-
-
-
Constructor Detail
-
Writer
public Writer(RouterContext ctx)
-
-
Method Detail
-
startWriting
public void startWriting(int numWriters)
-
stopWriting
public void stopWriting()
-
wantsWrite
public void wantsWrite(NTCPConnection con, String source)
-
connectionClosed
public void connectionClosed(NTCPConnection con)
-
-