Package net.i2p.i2ptunnel.socks
Class SOCKSUDPUnwrapper
- java.lang.Object
-
- net.i2p.i2ptunnel.socks.SOCKSUDPUnwrapper
-
-
Constructor Summary
Constructors Constructor Description SOCKSUDPUnwrapper(Map<I2PSocketAddress,SOCKSHeader> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsend(Destination ignored_from, int fromPort, int toPort, byte[] data)May throw RuntimeException from underlying sinkvoidsetSink(Sink sink)voidstart()
-
-
-
Constructor Detail
-
SOCKSUDPUnwrapper
public SOCKSUDPUnwrapper(Map<I2PSocketAddress,SOCKSHeader> cache)
- Parameters:
cache- put headers here to pass to SOCKSUDPWrapper
-
-
Method Detail
-
send
public void send(Destination ignored_from, int fromPort, int toPort, byte[] data)
May throw RuntimeException from underlying sink- Specified by:
sendin interfaceSink- Parameters:
ignored_from- ignoredfromPort- will be passed alongtoPort- ignored- Throws:
RuntimeException- Since:
- 0.9.53 added fromPort and toPort parameters
-
-