Package org.jcsp.plugNplay.ints
Class BlackHoleInt
java.lang.Object
org.jcsp.plugNplay.ints.BlackHoleInt
- All Implemented Interfaces:
CSProcess
Black holes anything sent to it.
Process Diagram
Description
BlackHoleInt is a process that accepts everything sent to it. This class can be used to ignore the output from a process while ensuring that the data is always read from the channel.
Note: this functionality is (more efficiently) provided by
a BlackHoleChannelInt
.
Channel Protocols
Input Channels | ||
---|---|---|
in | int | All channels in this package carry integers. |
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new BlackHoleInt process with the input Channel in. -
Method Summary