All Packages Class Hierarchy This Package Previous Next Index
Class jcsp.util.buildingblocks.ints.ExtDeltaInt
java.lang.Object
|
+----jcsp.util.buildingblocks.ints.ExtDeltaInt
- public final class ExtDeltaInt
- extends Object
- implements CSProcess
Process Diagram
_____________ out[1]
| |---->----
in | | :
-->-| ExtDeltaInt | :
| | out[n]
|_____________|---->----
Description
The ExtDeltaInt class is a process which has an infinite loop that waits
for an int to be sent down the in ChannelInt. The process then
writes the int in parallel down each of the ChannelInts
in the out array.
Channel Protocols
Input Channels |
in |
ChannelInt |
int
|
Output Channels |
out[] |
ChannelInt |
int
|
- Author:
- P.D.Austin
-
ExtDeltaInt(ChannelInputInt, ChannelOutputInt[])
- Construct a new ExtDeltaInt process with the input ChannelInt in and the output
ChannelInts out.
-
run()
- The main body of this process.
ExtDeltaInt
public ExtDeltaInt(ChannelInputInt in,
ChannelOutputInt out[])
- Construct a new ExtDeltaInt process with the input ChannelInt in and the output
ChannelInts out. The ordering of the ChannelInts in the out array make
no difference to the functionality of this process.
- Parameters:
- in - The input channel
- out - The output ChannelInts
run
public void run()
- The main body of this process.
All Packages Class Hierarchy This Package Previous Next Index