Package command_system :: Module framework :: Class CommandContainer
[hide private]
[frames] | no frames]

Class CommandContainer

source code


Command container is an entity which holds defined commands, allowing them to be dispatched and proccessed correctly. Each command container may be bound to a one or more command hosts.

The AUTOMATIC class variable, which must be defined by a command processor, specifies whether the command processor should be automatically dispatched and enabled by the dispatcher or not.

Bounding is controlled by the HOSTS class variable, which must be defined by the command container. This variable should contain a sequence of hosts to bound to, as a tuple or list.

Nested Classes [hide private]
  __metaclass__
Instance Methods [hide private]

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__