+
Point of view
TYPED_INTERNALS
deferred class CHAIN_OF_RESPONSIBILITY
Summary
Class invariant
Overview
Exported features
  • add (c: CHAIN_HANDLER[CHAIN_OF_RESPONSIBILITY])
    Add a handler to the Chain.
  • remove (c: CHAIN_HANDLER[CHAIN_OF_RESPONSIBILITY])
    Remove a handler from the Chain.
  • has (c: CHAIN_HANDLER[CHAIN_OF_RESPONSIBILITY]): BOOLEAN
    Does the handler belong to the chain?
  • execute
    Find a suitable handler to handle a request.
  • chain: FAST_ARRAY[CHAIN_HANDLER[CHAIN_OF_RESPONSIBILITY]]
add (c: CHAIN_HANDLER[CHAIN_OF_RESPONSIBILITY])
effective procedure
Add a handler to the Chain.
remove (c: CHAIN_HANDLER[CHAIN_OF_RESPONSIBILITY])
effective procedure
Remove a handler from the Chain.
has (c: CHAIN_HANDLER[CHAIN_OF_RESPONSIBILITY]): BOOLEAN
effective function
Does the handler belong to the chain?
execute
effective procedure
Find a suitable handler to handle a request.
chain: FAST_ARRAY[CHAIN_HANDLER[CHAIN_OF_RESPONSIBILITY]]
writable attribute