public final class Demultiplex
This demultiplexes data from its input channel to its output channel array.
The protocol on the incoming multiplexed stream consists of an Integer, that represents the channel identity of the multiplexed data, followed by the multiplexed data.
Input Channels | ||
---|---|---|
in | java.lang.Integer, java.lang.Object | A channel index followed by the multiplexed data. |
Output Channels | ||
out[] | java.lang.Object | All channels in this package carry integers. |
Constructor and description |
---|
Demultiplex
(ChannelInput in, ChannelOutput[] out) Construct a new Demultiplex process with the input Channel in and the output Channels out. |
Construct a new Demultiplex 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.
in
- the input channelout
- the output channelsJCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk