Package net.i2p.client.streaming.impl
Class TCBShare
java.lang.Object
net.i2p.client.streaming.impl.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
Constructors Constructor Description TCBShare(I2PAppContext ctx, SimpleTimer2 timer)
-
Method Summary
Modifier and Type Method Description void
stop()
Cannot be restarted.void
updateOptsFromShare(Connection con)
retrieve from cachevoid
updateShareOpts(Connection con)
store to cache
-
Constructor Details
-
Method Details
-
stop
public void stop()Cannot be restarted. -
updateOptsFromShare
retrieve from cache -
updateShareOpts
store to cache
-