Package org.jcsp.net2
Class Link.TxLoop
- java.lang.Object
-
- org.jcsp.net2.Link.TxLoop
-
-
Field Summary
Fields Modifier and Type Field Description private ChannelInput
input
The input channel to the TX process.private java.io.DataOutputStream
outputStream
The output stream connecting to the remote node's input stream.
-
Constructor Summary
Constructors Constructor Description TxLoop(ChannelInput in, java.io.DataOutputStream stream)
Constructor to create the TX part of the Link
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
The run loop of the TX process
-
-
-
Field Detail
-
input
private final ChannelInput input
The input channel to the TX process. Channels and Barriers send outgoing messages via this channel
-
outputStream
private final java.io.DataOutputStream outputStream
The output stream connecting to the remote node's input stream.
-
-
Constructor Detail
-
TxLoop
TxLoop(ChannelInput in, java.io.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
-
-