net.i2p.client.streaming
Class TCBShare
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCBShare
public TCBShare(I2PAppContext ctx,
SimpleTimer2 timer)
stop
public void stop()
updateOptsFromShare
public void updateOptsFromShare(Connection con)
- retrieve from cache
updateShareOpts
public void updateShareOpts(Connection con)
- store to cache