net.i2p.client.streaming
Class TCBShare

java.lang.Object
  extended by net.i2p.client.streaming.TCBShare

 class TCBShare
extends Object

Share important TCP Control Block parameters across Connections to the same remote peer. This is intended for "temporal" sharing at connection open/close time, not "ensemble" sharing during a connection. Ref. RFC 2140. There is a TCB share per ConnectionManager (i.e. per local Destination) so that there is no information leakage to other Destinations on the same router.


Constructor Summary
TCBShare(I2PAppContext ctx, SimpleTimer2 timer)
           
 
Method Summary
 void stop()
           
 void updateOptsFromShare(Connection con)
          retrieve from cache
 void updateShareOpts(Connection con)
          store to cache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCBShare

public TCBShare(I2PAppContext ctx,
                SimpleTimer2 timer)
Method Detail

stop

public void stop()

updateOptsFromShare

public void updateOptsFromShare(Connection con)
retrieve from cache


updateShareOpts

public void updateShareOpts(Connection con)
store to cache