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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
stop()
Cannot be restarted.void
updateOptsFromShare(Connection con)
retrieve from cachevoid
updateShareOpts(Connection con)
store to cache
-
-
-
Constructor Detail
-
TCBShare
public TCBShare(I2PAppContext ctx, SimpleTimer2 timer)
-
-
Method Detail
-
stop
public void stop()
Cannot be restarted.
-
updateOptsFromShare
public void updateOptsFromShare(Connection con)
retrieve from cache
-
updateShareOpts
public void updateShareOpts(Connection con)
store to cache
-
-