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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Writer
public Writer(RouterContext ctx)
startWriting
public void startWriting(int numWriters)
stopWriting
public void stopWriting()
wantsWrite
public void wantsWrite(NTCPConnection con,
String source)
connectionClosed
public void connectionClosed(NTCPConnection con)