Package puremvc :: Module interfaces :: Class ICommand
[hide private]
[frames] | no frames]

Class ICommand

source code

object --+    
         |    
 INotifier --+
             |
            ICommand
Known Subclasses:

The interface definition for a PureMVC Command


See Also: INotification

Instance Methods [hide private]
 
execute(self, notification)
Execute the ICommand's logic to handle a given INotification.
source code

Inherited from INotifier: initializeNotifier, sendNotification

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

execute(self, notification)

source code 

Execute the ICommand's logic to handle a given INotification.

Raises NotImplemented if subclass does not implement this method

Parameters:
  • notification - an INotification to handle.