Esempio n. 1
0
 /**
  * Construct a new SuccessorInt process with the input Channel in and the
  * output Channel out.
  *
  * @param in the input Channel
  * @param out the output Channel
  */
 public SuccessorInt(ChannelInputInt In, ChannelOutputInt Out)
 {
     this.In  = In;
     this.Out = Out;
 }
Esempio n. 2
0
 /**
  * Construct a new PrefixInt process with the input Channel in and the
  * output Channel out.
  *
  * @param n the initial int to be sent down the Channel.
  * @param in the input Channel
  * @param out the output Channel
  */
 public PrefixInt(int n, ChannelInputInt In, ChannelOutputInt Out)
 {
     this.In  = In;
     this.Out = Out;
     this.n   = n;
 }
Esempio n. 3
0
 /**
  * Construct a new IdentityInt process with the input Channel in and the
  * output Channel out.
  *
  * @param in the input Channel
  * @param out the output Channel
  */
 public IdentityInt(ChannelInputInt In, ChannelOutputInt Out)
 {
     this.In  = In;
     this.Out = Out;
 }
Esempio n. 4
0
 public Consumer(ChannelInputInt inChannel)
 {
     this.inChannel = inChannel;
 }
Esempio n. 5
0
 /**
  * Construct a new Delta2Int process with the input Channel in and the output
  * Channels Out0 and Out1. The ordering of the Channels Out0 and Out1 make
  * no difference to the functionality of this process.
  *
  * @param in the input channel
  * @param Out0 an output Channel
  * @param Out1 an output Channel
  */
 public Delta2Int(ChannelInputInt In, ChannelOutputInt out0, ChannelOutputInt out1)
 {
     this.In   = In;
     this.Out0 = out0;
     this.Out1 = out1;
 }