Package org.jcsp.net2
Class Link.TxLoop
java.lang.Object
org.jcsp.net2.Link.TxLoop
- All Implemented Interfaces:
CSProcess
- Enclosing class:
Link
The TxLoop for the Link. This could be implemented as a synchronized method call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChannelInput
The input channel to the TX process.private final DataOutputStream
The output stream connecting to the remote node's input stream. -
Constructor Summary
ConstructorsConstructorDescriptionTxLoop
(ChannelInput in, DataOutputStream stream) Constructor to create the TX part of the Link -
Method Summary
-
Field Details
-
input
The input channel to the TX process. Channels and Barriers send outgoing messages via this channel -
outputStream
The output stream connecting to the remote node's input stream.
-
-
Constructor Details
-
TxLoop
TxLoop(ChannelInput in, DataOutputStream stream) Constructor to create the TX part of the Link- Parameters:
in
- The channel connecting into the Link TX from the various channels and barriersstream
- The output stream connected to the remote node
-
-
Method Details