Home | Trees | Indices | Help |
---|
|
object --+ | threading._Verbose --+ | threading.Thread --+ | object --+ | | | Notifier --+ | ThreadedNotifier
This notifier inherits from threading.Thread for instantiating a separate thread, and also inherits from Notifier, because it is a threaded notifier.
This class is only maintained for legacy reasons, everything possible with this class is also possible with Notifier, but Notifier is _better_ under many aspects (not threaded, can be daemonized, won't unnecessarily read for events).
|
|||
|
|||
|
|||
|
|||
|
|||
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 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 Mon Mar 31 19:54:47 2008 | http://epydoc.sourceforge.net |