From where I can get link to connector 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With