示例#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);
 }