Trees | Indices | Help |
---|
|
object --+ | LoopingCall
Call a function repeatedly.
If f
returns a deferred, rescheduling will not take place
until the deferred has fired. The result value is ignored.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
LoopingCall
|
|
|
|||
call = None hash(x) |
|||
deferred = None hash(x) |
|||
interval = None hash(x) |
|||
starttime = None hash(x) |
|
|||
float
|
_expectNextCallAt = 0.0 The time at which this instance most recently scheduled itself to run. |
||
float
|
_realLastTime When counting skips, the time at which the skip counter was last invoked. |
||
bool
|
_runAtStart = False A flag indicating whether the 'now' argument was passed to LoopingCall.start .
|
||
a A tuple of arguments to pass the function. |
|||
clock A provider of twisted.internet.interfaces.IReactorTime .
|
|||
f The function to call. |
|||
kw A dictionary of keyword arguments to pass to the function. |
|||
bool
|
running = False A flag which is True while f is scheduled
to be called (or is currently being called).
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
Determine the number of intervals passed as of the given point in time.
|
Skip the next iteration and reset the timer. Since: 11.1 |
Start running function every interval seconds.
|
An alternate constructor for Note that this number is an The count is normally 1, but can be higher. For example, if the
reactor is blocked and takes too long to invoke the
Since: 9.0 |
|
clockA provider oftwisted.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 .
|
runningA flag which isTrue 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.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Aug 13 06:17:10 2013 | http://epydoc.sourceforge.net |