|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jcsp.plugNplay.ints.FixedDelayInt
public final class FixedDelayInt
This holds on to data from its input channel for a fixed delay before passing it on to its output channel.
Input Channels | ||
---|---|---|
in | int | All channels in this package carry integers. |
Output Channels | ||
out | int | All channels in this package carry integers. |
RegulateInt
,
RegularInt
Constructor Summary | |
---|---|
FixedDelayInt(long delayTime,
ChannelInputInt in,
ChannelOutputInt out)
Construct a new FixedDelayInt process with the input Channel in and the output Channel out. |
Method Summary | |
---|---|
void |
run()
The main body of this process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedDelayInt(long delayTime, ChannelInputInt in, ChannelOutputInt 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 ChannelMethod Detail |
---|
public void run()
run
in interface CSProcess
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |