org.jcsp.plugNplay.ints
public class RegularInt extends Object implements CSProcess
________________ | | out | RegularInt (n) |-->-- |________________|
The interval (in msecs) defining the output flow rate is given by a constructor argument.
Output Channels | ||
---|---|---|
out | int | A constant value is sent down this channel at a regular rate. |
FixedDelayInt
,
RegulateInt
Constructor and Description |
---|
RegularInt(ChannelOutputInt out,
int n,
long interval)
Construct the process.
|
public RegularInt(ChannelOutputInt out, int n, long interval)
out
- the output channeln
- the value to be generatedinterval
- the interval between outputs (in milliseconds)Submit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.