org.jcsp.plugNplay
public final class FixedDelay extends 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.
|
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 ChannelSubmit 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.