All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jcsp.util.buildingblocks.Delta

java.lang.Object
   |
   +----jcsp.util.buildingblocks.Delta

public final class Delta
extends Object
implements CSProcess

Process Diagram

         _______  out1 
     in |       |--->---
    -->-| Delta | out2
        |_______|--->---
 

Description

The Delta class is a process which has an infinite loop that waits for Objects of any type to be sent down the in Channel. The process then writes the reference to the Object in parallel down the out1 and out2 Channels.

Channel Protocols

Input Channels
in java.lang.Object The in Channel can accept data of any Class.
Output Channels
out1,out2 java.lang.Object The output Channels will send the data as the same type as sent down the in Channel.

Author:
P.D.Austin

Constructor Index

 o Delta(ChannelInput, ChannelOutput, ChannelOutput)
Construct a new Delta process with the input Channel in and the output Channels out1 and out2.

Method Index

 o run()
The main body of this process.

Constructors

 o Delta
 public Delta(ChannelInput in,
              ChannelOutput out1,
              ChannelOutput out2)
Construct a new Delta process with the input Channel in and the output Channels out1 and out2. The ordering of the Channels out1 and out2 make no difference to the functionality of this process.

Parameters:
in - The input channel
out1 - The first output Channel
out2 - The second output Channel

Methods

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index