class OneSeqCastList
OneSeqCastList is used to connect a source process to any number of destination processes such that an object will be read from input and then copied in sequence to all the outputList channels.
Once the UniversalTerminator is read it will be copied to all of the output channel ends. The incoming data is not modified in any manner.
Behaviour: while true outputList.broadcastSeq(input.read())
input
- A one2one Channel used to read data objects from the previous processoutputList
- An OutputChannelList to which the incoming data object is written in sequenceType | Name and description |
---|---|
ChannelInput |
input |
ChannelOutputList |
outputList |
Constructor and description |
---|
OneSeqCastList
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk