Chain-of-responsibility pattern: Difference between revisions

Content deleted Content added
mNo edit summary
Line 26:
* Define a chain of receiver objects having the responsibility, depending on run-time conditions, to either handle a request or forward it to the next receiver on the chain (if any).
 
This enables us to send a request to a chain of receivers
without having to know which one handles the request.
The request gets passed along the chain until a receiver handles the request.