Package flumotion :: Package admin :: Package command :: Module worker :: Class List
[hide private]

Class List

source code

                    object --+            
                             |            
extern.command.command.Command --+        
                                 |        
       extern.log.log.Loggable --+        
                                 |        
    monitor.nagios.util.LogCommand --+    
                                     |    
                   common.AdminCommand --+
                                         |
                                        List

Instance Methods [hide private]
 
doCallback(self, args)
Subclasses should implement this as an alternative to the normal do method.
source code

Inherited from common.AdminCommand: connectToManager, do

Inherited from monitor.nagios.util.LogCommand: __init__, debug

Inherited from extern.command.command.Command: addOptions, getFullName, getRootCommand, handleOptions, outputHelp, outputUsage, parse, stderr, stdout

Inherited from extern.command.command.Command (private): _getStdout

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  description = "List workers."
longer paragraph explaining the command

Inherited from extern.command.command.Command: aliasedSubCommands, aliases, name, parentCommand, parser, subCommandClasses, subCommands, summary, usage

Inherited from extern.log.log.Loggable: __implemented__, logCategory

Method Details [hide private]

doCallback(self, args)

source code 

Subclasses should implement this as an alternative to the normal do method. It will be called after a connection to the manager is made.

Don't forget to return a deferred you create to properly chain execution.

Overrides: common.AdminCommand.doCallback
(inherited documentation)