public class RunnableCable extends DataCable
DATA_CABLE
NON_RUNNABLE_CABLE
CONTROL_CABLE_TYPE
Constructor and Description |
---|
RunnableCable() |
Modifier and Type | Method and Description |
---|---|
void |
connect(Node sendnode,
Node recnode)
A local cable must be created by giving a reference to a RunnableInstance object so that when we use non-blocking
sending of data we can notify the RunnableInstance object when each packet has finished
|
disconnect, finalize, flush, isDataReady, isDataSent, nodeChildChanged, nodeConnected, nodeDisconnected, nodeParentChanged, parameterNameSet, preReceive, preSend, reconnect, recv, resume, send, sendNonBlocking, suspend
addCableListener, connects, contains, getReceivingNode, getReceivingTask, getSendingNode, getSendingTask, isConnected, removeCableListener, toString
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addCableListener, connects, contains, getReceivingNode, getReceivingTask, getSendingNode, getSendingTask, isConnected, removeCableListener
public void connect(Node sendnode, Node recnode) throws CableException
connect
in interface Cable
connect
in class QueueCable
CableException