Home | Trees | Indices | Help |
---|
|
This notifier inherits from threading.Thread for instantiating a separate thread, and also inherits from Notifier, because it is a threaded notifier.
Note that everything possible with this class is also possible through Notifier. Moreover Notifier is _better_ under many aspects: not threaded, can be easily daemonized.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
Initialization, initialize base classes. read_freq, treshold and timeout parameters are used when looping.
|
Stop the notifier's loop. Stop notification. Join the thread.
|
Thread's main loop. Don't meant to be called by user directly. Call start() instead. Events are read only once time every min(read_freq, timeout) seconds at best and only if the size of events to read is >= treshold.
|
Start the thread's loop: read and process events until the method stop() is called. Never call this method directly, instead call the start() method inherited from threading.Thread, which then will call run().
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun Jun 7 16:03:48 2009 | http://epydoc.sourceforge.net |