Instance Variable |
f |
The function to call. |
Instance Variable |
a |
A tuple of arguments to pass the function. |
Instance Variable |
kw |
A dictionary of keyword arguments to pass to the function. |
Instance Variable |
clock |
A provider of twisted.internet.interfaces.IReactorTime .
The default is twisted.internet.reactor .
Feel free to set this to something else, but it probably ought to be set
*before* calling start . |
Instance Variable |
running |
A flag which is True while f is scheduled to be
called (or is currently being called). It is set to True when
start
is called and set to False when stop is
called or if f raises an exception. In either case, it will be
False by the time the Deferred returned by start
fires its callback or errback. (type: bool ) |
Method |
deferred |
DEPRECATED. Deferred fired
when loop stops or fails. |
Class Method |
withCount |
An alternate constructor for LoopingCall
that makes available the number of calls which should have occurred since
it was last invoked. |
Method |
start |
Start running function every interval seconds. |
Method |
stop |
Stop running function. |
Method |
reset |
Skip the next iteration and reset the timer. |
Method |
__call__ |
Undocumented |
Method |
__repr__ |
Undocumented |
Instance Variable |
_realLastTime |
When counting skips, the time at which the skip counter was last invoked. (type: float ) |
Instance Variable |
_runAtStart |
A flag indicating whether the 'now' argument was passed to LoopingCall.start . (type: bool ) |
Method |
_intervalOf |
Determine the number of intervals passed as of the given point in
time. |
Method |
_scheduleFrom |
Schedule the next iteration of this looping call. |