All Packages Class Hierarchy This Package Previous Next Index
Class jcsp.util.buildingblocks.ExtDelta
java.lang.Object
|
+----jcsp.util.buildingblocks.ExtDelta
- public final class ExtDelta
- extends Object
- implements CSProcess
Process Diagram
__________ out[1]
| |---->----
in | | :
-->-| ExtDelta | :
| | out[n]
|__________|---->----
Description
The ExtDelta 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 each of the Channels
in the out array.
Channel Protocols
Input Channels |
in |
java.lang.Object |
The in Channel can accept data of any Class.
|
Output Channels |
out[] |
java.lang.Object |
The output Channels will send the data as the same type
as sent down the in Channel.
|
- Author:
- P.D.Austin
-
ExtDelta(ChannelInput, ChannelOutput[])
- Construct a new ExtDelta process with the input Channel in and the output
Channels out.
-
run()
- The main body of this process.
ExtDelta
public ExtDelta(ChannelInput in,
ChannelOutput out[])
- Construct a new ExtDelta process with the input Channel in and the output
Channels out. The ordering of the Channels in the out array make
no difference to the functionality of this process.
- Parameters:
- in - The input channel
- out - The output Channels
run
public void run()
- The main body of this process.
All Packages Class Hierarchy This Package Previous Next Index