|
CSP for Java (JCSP) 1.1-rc2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jcsp.plugNplay.Prefix
public final class Prefix
Prefixes a user-supplied object to the Object stream flowing through.
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 Summary | |
---|---|
Prefix(Object o,
ChannelInput in,
ChannelOutput out)
Construct a new Prefix 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 Prefix(Object o, ChannelInput in, ChannelOutput out)
o
- the initial Object to be sent down the Channel.in
- the input Channelout
- the output ChannelMethod Detail |
---|
public void run()
run
in interface CSProcess
|
CSP for Java (JCSP) 1.1-rc2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |