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