Package logilab :: Package common :: Module daemon :: Class DaemonMixIn
[frames] | no frames]

Class DaemonMixIn

source code

Mixin to make a daemon from watchers/queriers.
    

Instance Methods
 
__init__(self, configmod) source code
 
run(self)
optionally go in daemon mode and...
source code
 
signal_handler(self, sig_num, stack_frame) source code
Method Details

run(self)

source code 
optionally go in daemon mode and
do what concrete class has to do and pauses for delay between runs
If self.delay is negative, do a pause before starting