Trees | Indices | Help |
---|
|
object --+ | extern.log.log.Loggable --+ | Poller
A class representing a cancellable, periodic call to a procedure, which is robust in the face of exceptions raised by the procedure.
The poller will wait for a specified number of seconds between calls. The time taken for the procedure to complete is not counted in the timeout. If the procedure returns a deferred, rescheduling will be performed after the deferred fires.
For example, if the timeout is 10 seconds and the procedure returns a deferred which fires 5 seconds later, the next invocation of the procedure will be performed 15 seconds after the previous invocation.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Start the poller. This procedure is called during __init__, so it is normally not necessary to call it. It will ensure that the poller is running, even after a previous call to stop().
|
Stop the poller. This procedure ensures that the poller is stopped. It may be called multiple times. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Aug 13 06:17:01 2013 | http://epydoc.sourceforge.net |