Trees | Index | Help |
|
---|
Package ZenEvents :: Module EventServer :: Class EventServer |
|
CmdBase
--+ |ZenDaemon
--+ |ZCmdBase
--+ | EventServer
ZenMail
,
ZenSyslog
,
ZenTrap
Method Summary | |
---|---|
__init__(self)
| |
basic options setup sub classes can add more options here | |
things to do at shutdown: thread cleanup, logs and events | |
Since we don't do anything on a regular basis, just push heartbeats regularly | |
main(self)
| |
report some simple diagnostics at shutdown | |
reportCycle(self)
| |
method to process events in a thread | |
wrapper for sending an event | |
Send multiple events to database syncing only one time. | |
controlled shutdown of main loop on interrupt | |
useTcpFileDescriptor(self,
fd,
factory)
| |
useUdpFileDescriptor(self,
fd)
| |
Inherited from ZCmdBase :
closeAll ,
closedb ,
findDevice ,
getConnection ,
getContext ,
getDataRoot ,
getDmdObj ,
login ,
logout ,
opendb ,
syncdb ,
zeoConnect
Inherited from ZenDaemon :
becomeDaemon ,
changeUser ,
setupLogging
Inherited from CmdBase :
buildParser ,
parseOptions
|
Class Variable Summary | |
---|---|
str |
name = 'EventServer'
|
Inherited from ZenDaemon :
pidfile
Inherited from CmdBase :
doesLogging
|
Method Details |
---|
buildOptions(self)basic options setup sub classes can add more options here
|
finish(self)things to do at shutdown: thread cleanup, logs and events |
heartbeat(self)Since we don't do anything on a regular basis, just push heartbeats regularly |
report(self)report some simple diagnostics at shutdown |
run(self)method to process events in a thread |
sendEvent(self, evt)wrapper for sending an event |
sendEvents(self, evts)Send multiple events to database syncing only one time. |
sigTerm(self, signum, frame)controlled shutdown of main loop on interrupt |
Class Variable Details |
---|
name
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:07 2007 | http://epydoc.sf.net |