Constructor and Description |
---|
SOCKSUDPUnwrapper(Map<I2PSocketAddress,SOCKSHeader> cache) |
Modifier and Type | Method and Description |
---|---|
void |
send(Destination ignored_from,
int fromPort,
int toPort,
byte[] data)
May throw RuntimeException from underlying sink
|
void |
setSink(Sink sink) |
void |
start() |
public SOCKSUDPUnwrapper(Map<I2PSocketAddress,SOCKSHeader> cache)
cache
- put headers here to pass to SOCKSUDPWrapperpublic void send(Destination ignored_from, int fromPort, int toPort, byte[] data)
send
in interface Sink
ignored_from
- ignoredfromPort
- will be passed alongtoPort
- ignoredRuntimeException