Package net.i2p.i2ptunnel.socks
Class ReplyTracker<S extends Sink>
java.lang.Object
net.i2p.i2ptunnel.socks.ReplyTracker<S>
public class ReplyTracker<S extends Sink> extends Object implements Source, Sink
Track who the reply goes to
- Author:
- zzz
-
Constructor Summary
Constructors Constructor Description ReplyTracker(S reply, Map<Destination,S> cache)
-
Method Summary
Modifier and Type Method Description void
send(Destination to, byte[] data)
May throw RuntimeException from underlying sinkvoid
setSink(Sink sink)
void
start()