Package ZenRRD :: Module zencommand :: Class zencommand
[show private | hide private]
[frames | no frames]

Class zencommand

Jellyable --+                
            |                
 Serializable --+            
                |            
    Referenceable --+        
                    |        
      CmdBase --+   |        
                |   |        
        ZenDaemon --+        
                    |        
             PBDaemon --+    
                        |    
                RRDDaemon --+
                            |
                           zencommand


Method Summary
  __init__(self)
  buildOptions(self)
basic options setup sub classes can add more options here
  connected(self)
  error(self, err)
  fetchConfig(self)
  finished(self, cmd)
  getExitMessage(self, exitCode)
  heartbeatCycle(self, *ignored)
There is no master 'cycle' to send the hearbeat
  parseResults(self, cmd)
  processSchedule(self, *unused)
Run through the schedule and start anything that needs to be done.
  remote_deleteDevice(self, doomed)
  remote_updateConfig(self, config)
  remote_updateDeviceList(self, devices)
  start(self, driver)
Fetch the configuration and return a deferred for its completion.
  updateConfig(self, config, expected)
Inherited from RRDDaemon: errorStop, getDevicePingIssues, heartbeat, logError, model, remote_setPropertyItems, sendThresholdEvent, setPropertyItems
Inherited from PBDaemon: connect, eventService, getInitialServices, getService, getServiceNow, gotPerspective, remote_getName, remote_shutdown, run, sendEvent, sigTerm, stop
Inherited from ZenDaemon: becomeDaemon, changeUser, setupLogging
Inherited from CmdBase: buildParser, parseOptions
Inherited from Referenceable: jellyFor, remoteMessageReceived
Inherited from Serializable: processUniqueID
Inherited from Jellyable: getStateFor

Class Variable Summary
list initialServices = ['EventService', 'CommandConfig']
Inherited from RRDDaemon: configCycleInterval, heartbeatevt, heartBeatTimeout, properties, rrd, shutdown
Inherited from PBDaemon: name
Inherited from ZenDaemon: pidfile
Inherited from CmdBase: doesLogging
Inherited from Referenceable: __implemented__, __provides__, perspective
Inherited from Jellyable: __providedBy__

Method Details

buildOptions(self)

basic options setup sub classes can add more options here
Overrides:
Products.ZenRRD.RRDDaemon.RRDDaemon.buildOptions (inherited documentation)

heartbeatCycle(self, *ignored)

There is no master 'cycle' to send the hearbeat

processSchedule(self, *unused)

Run through the schedule and start anything that needs to be done. Set a timer if we have nothing to do.

start(self, driver)

Fetch the configuration and return a deferred for its completion. Also starts the config cycle

Class Variable Details

initialServices

Type:
list
Value:
['EventService', 'CommandConfig']                                      

Generated by Epydoc 2.1 on Thu Aug 16 09:55:11 2007 http://epydoc.sf.net