public interface OutputCable extends Cable
CONTROL_CABLE_TYPE
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes data in the pipe
|
boolean |
isDataSent() |
void |
resume()
Unsuspends a pipe
|
void |
send(java.lang.Object data)
Blocking call to send the data from the sending task to the receiving task.
|
void |
sendNonBlocking(java.lang.Object data)
Non-blocking call to send the data from the sending task to the receiving task.
|
void |
suspend()
Suspends the pipe.
|
addCableListener, connect, connects, contains, disconnect, getReceivingNode, getReceivingTask, getSendingNode, getSendingTask, getType, isConnected, reconnect, removeCableListener
void send(java.lang.Object data)
data
- the data to be sentvoid sendNonBlocking(java.lang.Object data)
data
- the data to be sentboolean isDataSent()
void suspend()
void flush()
void resume()