Wiki Home

Chain Of Responsibility

(Updated: 2005.03.25 04:42:07 PM)
Namespace: SoftwareEng
Chain Of Responsibility is one of the 23 Design Patterns elucidated in the most excellent Gamma And Helm book, Design Patterns: Elements of Reusable Object - Oriented Software by Gamma and Helm et al. ISBN 0201633612 , which is cited below:
Intent: Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.

Design Pattern Classification: Behavioral Object

Applicability:
Use the Chain Of Responsibility pattern when: Structure:

A typical object structure might look like this:


See: Andy Kramek's excellent explanation of this pattern.
http://weblogs.foxite.com/andykramek/archive/2006/12/24/3060.aspx
See Also: VFP Design Pattern Catalog
Category Design Patterns