Constructor and Description |
---|
SOCKSUDPWrapper(Map<Destination,SOCKSHeader> cache) |
Modifier and Type | Method and Description |
---|---|
void |
send(Destination from,
byte[] data)
Use the cached header, which should have the host string and port
May throw RuntimeException from underlying sink
|
void |
setSink(Sink sink) |
void |
start() |
public SOCKSUDPWrapper(Map<Destination,SOCKSHeader> cache)
public void send(Destination from, byte[] data)
send
in interface Sink
from
- some implementations may ignoreRuntimeException