Modifier and Type | Method and Description |
---|---|
void |
send(Destination from,
int fromPort,
int toPort,
byte[] data)
Send to a single sink looked up by toPort
May throw RuntimeException from underlying sinks
|
void |
setSink(Sink sink)
Don't use this - put sinks in the cache
|
void |
start() |
public void setSink(Sink sink)
public void send(Destination from, int fromPort, int toPort, byte[] data)
send
in interface Sink
from
- passed alongfromPort
- passed alongtoPort
- passed alongRuntimeException