开发者

connector acceptor pattern

From where I can get link to con开发者_如何转开发nector acceptor pattern explained simple ,and also a sample code . The one I get cs.wustl.edu , I find difficult to understand.


In simple words; in a distributed system, once a service is initialized, this design pattern decouples connection establishment and service initialization. Acceptors, connectors, and service handlers helps in achieving the decoupling.

1> Connector establishes a connection with a remote acceptor component and initializes a service handler to process data exchanged after the connection is made.

2> Acceptor passively waits for connection requests from remote connectors, establishing a connection upon arrival of a request, and initializing a service handler to process data exchanged after the connection is made.

3> Initialized service handlers perform application-specific processing and communicate via the connection established by the connector and acceptor components.

You can find some easy explanation in this link - http://kurser.iha.dk/ee-ict-master/tiardi/Slides/ARDI3-POSA2-AcceptorConnector.pdf

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜