Package Products :: Package ZenUtils :: Module CyclingDaemon :: Class CyclingDaemon |
[hide private]
[frames] | no frames]

# Class CyclingDaemon

source code

         object --+
                  |
    CmdBase.CmdBase --+
                      |
    ZenDaemon.ZenDaemon --+
                          |
          ZCmdBase.ZCmdBase --+
                              |
                             CyclingDaemon

Instance Methods | [hide private]
main_loop(self) | source code
run(self) | source code
finish(self, results=None) | source code
sendEvent(self, evt) Send event to the system. | source code
sendHeartbeat(self) Send a heartbeat event for this monitor. | source code
runCycle(self) | source code
sigTerm(self, signum=None, frame=None) Controlled shutdown of main loop on interrupt. | source code
buildOptions(self) basic options setup sub classes can add more options here | source code
Inherited from `ZCmdBase.ZCmdBase`: `__init__`, `closeAll`, `closedb`, `findDevice`, `getConnection`, `getContext`, `getDataRoot`, `getDmdObj`, `login`, `logout`, `opendb`, `syncdb`, `zeoConnect` Inherited from `ZenDaemon.ZenDaemon`: `becomeDaemon`, `becomeWatchdog`, `changeUser`, `niceDoggie`, `openPrivilegedPort`, `setupLogging`, `sighandler_USR1`, `watchdogCycleTime`, `watchdogMaxRestartTime`, `watchdogStartTimeout`, `writePidFile` Inherited from `CmdBase.CmdBase`: `buildParser`, `checkLogpath`, `generate_configs`, `generate_xml_configs`, `generate_xml_table`, `getConfigFileDefaults`, `parseOptions`, `pretty_print_config_comment` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables | [hide private]
Inherited from `ZenDaemon.ZenDaemon`: `pidfile` Inherited from `CmdBase.CmdBase`: `doesLogging`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### sigTerm(self, signum=None, frame=None) | source code
Controlled shutdown of main loop on interrupt. Overrides: ZCmdBase.ZCmdBase.sigTerm

### buildOptions(self) | source code
basic options setup sub classes can add more options here Overrides: ZCmdBase.ZCmdBase.buildOptions (inherited documentation)