Hi I am wondering Chain of Responsibility Scope.
In general it is a common used pattern which has handlers in itself and each handler is passing the functionality action to it's supervisor.
What I see in the example scenarios is:
"Only one related handler is handling the functionality itself and all the other handlers
are just passing through to their supervisor handler."
Does it violate the chain of responsibility pattern in such case:
"Every handler has the responsibility to take an action instead and after that passing
to supervisor.
As an abstract:
Chain of Responsibility Recommended Scenario:
Handler1(Take No Action) --> Handler2 (Take No Action) --> Handler3(Take All Action)
Chain of Responsibility Wondering Scenario:
Handler1(Take Partial Action) --> Handler2(Take No Action) --> Handler(Take Partial Action)
Does the second scenario suits the chain of responsibility or violates it?
For Example Netty have handlers in itself and all have their responsible actions and they also pass the information in between themselves. Can we say that Netty handler mechanism suits the chain of responsibility?