All Packages Class Hierarchy This Package Previous Next Index
Class jcsp.util.ints.ProcessWriteInt
java.lang.Object
|
+----jcsp.util.ints.ProcessWriteInt
- public class ProcessWriteInt
- extends Object
- implements CSProcess
Process Diagram
___________________
| | out
| ProcessWriteInt |-->--
|___________________|
Description
The ProcessWriteInt process outputs the value attribute to the out ChannelInt
once and then terminates. The value to be written should be assigned to
the value attribute before the process is run.
- Author:
- P.D.Austin
-
value
- The int to be written to the ChannelInt
-
ProcessWriteInt(ChannelOutputInt)
- Construct a new ProcessWriteInt.
-
run()
- The main body of this process.
value
public int value
- The int to be written to the ChannelInt
ProcessWriteInt
public ProcessWriteInt(ChannelOutputInt out)
- Construct a new ProcessWriteInt.
- Parameters:
- out - The ChannelInt to write the int to
run
public void run()
- The main body of this process.
All Packages Class Hierarchy This Package Previous Next Index