net.i2p.router.transport.ntcp
Class Writer

java.lang.Object
  extended by net.i2p.router.transport.ntcp.Writer

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

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,
                       java.lang.String source)

connectionClosed

public void connectionClosed(NTCPConnection con)