class NodeRequestingFanList
The process NodeRequestingFanList makes a request for data on its request channel and reads the response on its response channel. The object is output to the channels of outList. The received data is output in turn to the elements of outList.
Behaviour: currentIndex = 0 while true request.write(signal) outList[currentIndex].write( response.read() ) currentIndex = (currentIndex + 1) modulus outList.size()
request
- A net output channel to which a request for data is writtenresponse
- A net input channel from which an input data object is readoutList
- A channel output list to which the received data object is writtenType | Name and description |
---|---|
ChannelOutputList |
outList |
ChannelOutput |
request |
ChannelInput |
response |
Constructor and description |
---|
NodeRequestingFanList
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk