public class Substitute extends java.lang.Object implements CSProcess
Input Channels | ||
---|---|---|
in | java.lang.Object | The in Channel can accept data of any Class. |
Output Channels | ||
out | java.lang.Object | The object to be sent down the Channel. |
Modifier and Type | Field and Description |
---|---|
private ChannelInput |
in
The input Channel
|
private java.lang.Object |
o
The Object to be sent down the out Channel.
|
private ChannelOutput |
out
The output Channel
|
Constructor and Description |
---|
Substitute(ChannelInput in,
ChannelOutput out,
java.lang.Object o)
Construct a new Substitute process.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
The main body of this process.
|
private java.lang.Object o
private ChannelInput in
private ChannelOutput out
public Substitute(ChannelInput in, ChannelOutput out, java.lang.Object o)
o
- the Object to be sent down the out Channel.in
- the input Channelout
- the output Channel