ICommandInterceptor class
An interface for stackable command intercepters, which can extend and modify the command call chain.
This mechanism can be used for authentication, logging, and other functions.
See ICommand See InterceptedCommand
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
execute(
String correlationId, ICommand command, Parameters args) → Future - Executes the wrapped command with specified arguments. [...]
-
getName(
ICommand command) → String - Gets the name of the wrapped command. [...]
-
validate(
ICommand command, Parameters args) → List< ValidationResult> - Validates arguments of the wrapped command before its execution. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited