Command processor is an immediate command emitter. It does not
participate in the dispatching process directly, but must define a
host to bound to.
Bounding is controlled by the COMMAND_HOST variable, which must be
defined in the body of the command processor. This variable should
be set to a specific command host.
|
|
|
|
|
|
|
|
command_preprocessor(self,
command,
name,
arguments,
args,
kwargs)
Redefine this method in the subclass to execute custom code
before command gets executed. |
source code
|
|
|
|
command_postprocessor(self,
command,
name,
arguments,
args,
kwargs,
value)
Redefine this method in the subclass to execute custom code
after command gets executed. |
source code
|
|
|
|
looks_like_command(self,
text,
body,
name,
arguments)
This hook is being called before any processing, but after it
was determined that text looks like a command. |
source code
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|