deferred class CHAIN_HANDLER [C_ -> CHAIN_OF_RESPONSIBILITY]

All features

Part of a chain of responsibility. It must tell if it is able to handle a request, and then handle it.

Direct parents

non-conformant parents

ANY

Summary

exported features

Details

deferred can_handle (chain: C_): BOOLEAN

True if the handler can indeed handle a request from the given chain of responsibility.

require

  • chain /= Void

deferred handle (chain: C_)

Handle a request from the given chain of responsibility.

require

  • chain /= Void
  • can_handle(chain)