| Constructor | Description |
|---|---|
SOCKSUDPWrapper(Map<Destination,SOCKSHeader> cache) |
| Modifier and Type | Method | 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 Sinkfrom - some implementations may ignoreRuntimeException