Package net.i2p.i2ptunnel.socks
Class ReplyTracker<S extends Sink>
- java.lang.Object
-
- net.i2p.i2ptunnel.socks.ReplyTracker<S>
-
-
Constructor Summary
Constructors Constructor Description ReplyTracker(S reply, Map<Destination,S> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
send(Destination to, byte[] data)
May throw RuntimeException from underlying sinkvoid
setSink(Sink sink)
void
start()
-
-
-
Constructor Detail
-
ReplyTracker
public ReplyTracker(S reply, Map<Destination,S> cache)
-
-
Method Detail
-
send
public void send(Destination to, byte[] data)
May throw RuntimeException from underlying sink- Specified by:
send
in interfaceSink
- Parameters:
to
- some implementations may ignore- Throws:
RuntimeException
-
-