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 voidsend(Destination ignored_from, byte[] data)May throw RuntimeException from underlying sinkvoidsetSink(Sink sink)voidstart()
-
-
-
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:
sendin interfaceSink- Parameters:
ignored_from- some implementations may ignore- Throws:
RuntimeException
-
-