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; }
public Subscription(Type messageType, EndpointAddress endpoint) { }
public void Send(EndpointAddress address, object message) { Message msg = outboundPipeline.AssembleMessage(message); outboundTransport.Send(address, msg); }
public object Receive(EndpointAddress address) { Message msg = inboundTransport.Receive(address); return inboundPipeline.DisassembleMessage(msg); }