public final class Identity 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 out Channel sends the the same type of data (in fact, the same data) as is input. |
| Modifier and Type | Field and Description |
|---|---|
private ChannelInput |
in
The input Channel
|
private ChannelOutput |
out
The output Channel
|
| Constructor and Description |
|---|
Identity(ChannelInput in,
ChannelOutput out)
Construct a new Identity process with the input Channel in and the
output Channel out.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The main body of this process.
|
private ChannelInput in
private ChannelOutput out
public Identity(ChannelInput in, ChannelOutput out)
in - the input Channelout - the output Channel