All Packages Class Hierarchy This Package Previous Next Index
Class jcsp.util.buildingblocks.ints.TailInt
java.lang.Object
|
+----jcsp.util.buildingblocks.ints.TailInt
- public final class TailInt
- extends Object
- implements CSProcess
Process Diagram
_________
in | | out
-->--| TailInt |-->--
|_________|
Description
The TailInt class is a process which reads an initial int and then
has an infinite loop that waits an int to be sent down the
in ChannelInt. The process then writes the int down the out ChannelInt.
Channel Protocols
Input Channels |
in |
ChannelInt |
int
|
Output Channels |
out |
ChannelInt |
int
|
- Author:
- P.D.Austin
-
TailInt(ChannelInputInt, ChannelOutputInt)
- Construct a new TailInt process with the input ChannelInt in and the
output ChannelInt out.
-
run()
- The main body of this process.
TailInt
public TailInt(ChannelInputInt in,
ChannelOutputInt out)
- Construct a new TailInt process with the input ChannelInt in and the
output ChannelInt out.
- Parameters:
- in - The input ChannelInt
- out - The output ChannelInt
run
public void run()
- The main body of this process.
All Packages Class Hierarchy This Package Previous Next Index