public final class FixedDelay extends java.lang.Object implements CSProcess
Regulate
.
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)
This process copies input to output, imposing a fixed time delay
between these events.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
The main body of this process.
|
public FixedDelay(long delayTime, ChannelInput in, ChannelOutput out)
delayTime
- the time the process is to wait in milliseconds
between receiving a message and then sending it –
a zero or negative value implies no waiting.in
- the input Channelout
- the output ChannelCopyright © 1996–2023. All rights reserved.