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

posted on 2012-11-20 14:54  逝者如斯(乎)  阅读(211)  评论(0编辑  收藏  举报