| Trees | Index | Help |
|
|---|
| Package ZenUtils :: Module ConfDaemon :: Class ConfDaemon |
|
CmdBase --+
|
ConfDaemon
| Method Summary | |
|---|---|
__init__(self)
| |
fork twice to become a daemon | |
basic options setup sub classes can add more options here | |
try the forward lookup dnstries times if it fails look in cache | |
handle errors when loading config from server we try configtries times if no previous config is found | |
getDnsTries(self)
| |
try the reverse lookup dnstries times if it fails look in cache | |
sigTerm(self,
signum,
frame)
| |
try dns lookup dnstries times | |
Inherited from CmdBase:
buildParser,
parseOptions,
setupLogging
| |
| Class Variable Summary | |
|---|---|
Inherited from CmdBase:
doesLogging
|
| Method Details |
|---|
becomeDaemon(self)fork twice to become a daemon |
buildOptions(self)basic options setup sub classes can add more options here
|
forwardDnsLookup(self, hostname)try the forward lookup dnstries times if it fails look in cache |
getConfig(self)handle errors when loading config from server we try configtries times if no previous config is found |
reverseDnsLookup(self, ip)try the reverse lookup dnstries times if it fails look in cache |
_dnsLookup(self, function, target)try dns lookup dnstries times |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 | http://epydoc.sf.net |