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

Variable Index

 o value
The Object read from the Channel

Constructor Index

 o ProcessRead(ChannelInput)
Construct a new ProcessRead.

Method Index

 o run()
The main body of this process.

Variables

 o value
 public Object value
The Object read from the Channel

Constructors

 o ProcessRead
 public ProcessRead(ChannelInput in)
Construct a new ProcessRead.

Parameters:
in - The Channel to read the Object from

Methods

 o run
 public void run()
The main body of this process.


All Packages  Class Hierarchy  This Package  Previous  Next  Index