示例#1
0
 /**
  * Constructs a new filtered channel based on an existing channel.
  *
  * @param chan the existing channel.
  */
 public FilteredOne2OneChannelImpl(One2OneChannel chan)
 {
     _In  = new FilteredAltingChannelInput(chan.In());
     _Out = new FilteredChannelOutputWrapper(chan.Out());
 }
示例#2
0
 /**
  * Constructs a new filtered channel from an existing channel.
  *
  * @param chan the existing channel.
  */
 public FilteredOne2AnyChannelImpl(One2AnyChannel chan)
 {
     _In  = new FilteredSharedChannelInputWrapper(chan.In());
     _Out = new FilteredChannelOutputWrapper(chan.Out());
 }