public final class DemultiplexInt extends java.lang.Object implements CSProcess
MultiplexInt
process on the other
end of its in channel back to separate streams (its out
channels). It assumes that MultiplexInt
operates on the same
size array of channels as its out array.
The protocol on the incoming multiplexed stream consists of an int, that represents the channel identity of the multiplexed data, followed by the multiplexed data.
Input Channels | ||
---|---|---|
in | int, int | An in message is an index followed by the multiplexed data. |
Output Channels | ||
out[] | java.lang.Object | All channels in this package carry integers. |
MultiplexInt
,
ParaplexInt
,
DeparaplexInt
Constructor and Description |
---|
DemultiplexInt(ChannelInputInt in,
ChannelOutputInt[] out)
Construct a new DemultiplexInt process with the input Channel in and the output
Channels out.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
The main body of this process.
|
public DemultiplexInt(ChannelInputInt in, ChannelOutputInt[] out)
in
- the input channelout
- the output ChannelsCopyright © 1996–2024. All rights reserved.