public class Regular extends Object implements CSProcess
_____________ | | out | Regular (n) |-->-- |_____________|
The interval (in msecs) defining the output flow rate is given by a constructor argument.
Output Channels | ||
---|---|---|
out | java.lang.Integer | A constant value is sent down this channel at a regular rate. |
FixedDelay
,
Regulate
Constructor and Description |
---|
Regular(ChannelOutput out,
int n,
long interval)
Construct the process.
|
public Regular(ChannelOutput out, int n, long interval)
out
- the output channeln
- the value to be generatedinterval
- the interval between outputs (in milliseconds)Copyright © 1996–2014. All rights reserved.