public final class FixedDelay
This holds on to data from its input channel for a fixed delay before passing it on to its output channel.
Input Channels | ||
---|---|---|
in | java.lang.Object | The in Channel can accept data of any Class. |
Output Channels | ||
out | java.lang.Object | The out Channel sends the the same type of data (in fact, the same data) as is input. |
Constructor and description |
---|
FixedDelay
(long delayTime, ChannelInput in, ChannelOutput out) Construct a new FixedDelay process with the input Channel in and the output Channel out. |
Construct a new FixedDelay process with the input Channel in and the output Channel out.
delayTime
- the time the process is to wait in milliseconds
between receiving a message and then sending it (a negative
delayTime implies no waiting).in
- the input Channelout
- the output ChannelJCSP for Java 1.8 generated 14-10-2016 by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk