| 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()
Starts the source.
|
public void send(Destination from, int fromPort, int toPort, byte[] data)
send in interface Sinkfrom - passed alongfromPort - passed alongtoPort - passed alongRuntimeExceptionpublic void setSink(Sink sink)