Пример #1
0
 public Endpoint(EndpointAddress address,
     IInboundTransport inboundTransport,
     IOutboundTransport outboundTransport,
     IOutboundTransport errorTransport,
     IInboundPipeline inboundPipeline,
     IOutboundPipeline outboundPipeline,
     IOutboundPipeline errorPipeline)
 {
     this.address = address;
     this.inboundTransport = inboundTransport;
     this.outboundTransport = outboundTransport;
     this.errorTransport = errorTransport;
     this.inboundPipeline = inboundPipeline;
     this.outboundPipeline = outboundPipeline;
     this.errorPipeline = errorPipeline;
 }
Пример #2
0
 public Subscription(Type messageType, EndpointAddress endpoint)
 {
 }
Пример #3
0
 public void Send(EndpointAddress address, object message)
 {
     Message msg = outboundPipeline.AssembleMessage(message);
     outboundTransport.Send(address, msg);
 }
Пример #4
0
 public object Receive(EndpointAddress address)
 {
     Message msg = inboundTransport.Receive(address);
     return inboundPipeline.DisassembleMessage(msg);
 }