示例#1
0
 public void StartReceiving(IHandlerPipeline pipeline, ILogger logger, ChannelGraph graph)
 {
     if (Channel == null) throw new InvalidOperationException("Cannot receive on node {0} without a matching channel".ToFormat(SettingAddress));
     var receiver = new Receiver(pipeline, graph, this);
     StartReceiving(receiver, logger);
 }
示例#2
0
 protected bool Equals(Receiver other)
 {
     return Equals(_pipeline, other._pipeline) && Equals(_graph, other._graph) && Equals(_node, other._node);
 }