All Packages Class Hierarchy This Package Previous Next Index
Class jcsp.util.ProcessRead
java.lang.Object
|
+----jcsp.util.ProcessRead
- public class ProcessRead
- extends Object
- implements CSProcess
Process Diagram
_______________
in | |
-->-| ProcessRead |
|_______________|
Description
The ProcessRead process reads from the in Channel and stores the Object
in the value attribute and then terminates.
Example
See example in the jcsp.lang.Parallel class.
- Author:
- P.D.Austin
- See Also:
- Parallel
-
value
- The Object read from the Channel
-
ProcessRead(ChannelInput)
- Construct a new ProcessRead.
-
run()
- The main body of this process.
value
public Object value
- The Object read from the Channel
ProcessRead
public ProcessRead(ChannelInput in)
- Construct a new ProcessRead.
- Parameters:
- in - The Channel to read the Object from
run
public void run()
- The main body of this process.
All Packages Class Hierarchy This Package Previous Next Index