Constructor | Description |
---|---|
SOCKSUDPUnwrapper(Map<Destination,SOCKSHeader> cache) |
Modifier and Type | Method | Description |
---|---|---|
void |
send(Destination ignored_from,
byte[] data) |
May throw RuntimeException from underlying sink
|
void |
setSink(Sink sink) |
|
void |
start() |
public SOCKSUDPUnwrapper(Map<Destination,SOCKSHeader> cache)
cache
- put headers here to pass to SOCKSUDPWrapperpublic void send(Destination ignored_from, byte[] data)
send
in interface Sink
ignored_from
- some implementations may ignoreRuntimeException