Oct 16, 2019 in Design Patterns
Q:

Chain of Responsibility pattern

1 Answer

0 votes
Oct 16, 2019

As the name suggests, the chain of responsibility pattern creates a chain of receiver objects for a request. This pattern decouples sender and receiver of a request based on type of request. This pattern comes under behavioral patterns.

In this pattern, normally each receiver contains reference to another receiver. If one object cannot handle the request then it passes the same to the next receiver and so on.

Related questions

0 votes
Oct 16, 2019 in Design Patterns
0 votes
Oct 16, 2019 in Design Patterns
...