Server端:
Uri-->binding.BuildChannelListener<IReplyChannel(Uri)-->ChannelListener<IReplyChannel>.AcceptChannel()-->channel.ReceiveRequest(TimeSpan)-->RequestContext.Reply(Message).
Client端:
EndpointAddress-->binding.BuildChannelFactory<IRequestChannel>-->channelFactory.CreateChannel(EndpointAddress)-->channel.Request(Message).
MEP | Sender | Receiver |
Datagram | IOutputChannel | IInputChannel |
Request/Reply | IRequestChannel | IReplyChannel |
Duplex | IDuplexChannel | IDuplexChannel |
P2P | IDuplexChannel | IDuplexChannel |
BindingElement