Class t.i.b.DelayedCall(styles.Ephemeral):

Part of twisted.internet.base View Source View In Hierarchy

Implements interfaces: twisted.internet.interfaces.IDelayedCall

No class docstring

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
48 Method __init__
75 Method getTime Return the time at which this call will fire
84 Method cancel Unschedule this call
103 Method reset Reschedule this call for a different time
126 Method delay Reschedule this call for a later time
146 Method activate_delay Undocumented
150 Method active Determine whether this call is still pending
159 Method __le__ Undocumented
162 Method __str__ Undocumented

Inherited from Ephemeral:

Line # Kind Name Docs
124 Method __getstate__ Undocumented
131 Method __setstate__ Undocumented
Line # Kind Name Docs
124 Method __getstate__ Undocumented
48 Method __init__
159 Method __le__ Undocumented
131 Method __setstate__ Undocumented
162 Method __str__ Undocumented
146 Method activate_delay Undocumented
150 Method active Determine whether this call is still pending
84 Method cancel Unschedule this call
126 Method delay Reschedule this call for a later time
75 Method getTime Return the time at which this call will fire
103 Method reset Reschedule this call for a different time
def __init__(self, time, func, args, kw, cancel, reset, seconds=runtimeSeconds): (source)
ParameterstimeSeconds from the epoch at which to call func.
funcThe callable to call.
argsThe positional arguments to pass to the callable.
kwThe keyword arguments to pass to the callable.
cancelA callable which will be called with this DelayedCall before cancellation.
resetA callable which will be called with this DelayedCall after changing this DelayedCall's scheduled execution time. The callable should adjust any necessary scheduling details to ensure this DelayedCall is invoked at the new appropriate time.
secondsIf provided, a no-argument callable which will be used to determine the current time any time that information is needed.
def getTime(self): (source)
Return the time at which this call will fire
ReturnsThe number of seconds after the epoch at which this call is scheduled to be made. (type: float )
def cancel(self): (source)
Unschedule this call
RaisesAlreadyCancelledRaised if this call has already been unscheduled.
AlreadyCalledRaised if this call has already been made.
def reset(self, secondsFromNow): (source)
Reschedule this call for a different time
ParameterssecondsFromNowThe number of seconds from the time of the reset call at which this call will be scheduled. (type: float )
RaisesAlreadyCancelledRaised if this call has been cancelled.
AlreadyCalledRaised if this call has already been made.
def delay(self, secondsLater): (source)
Reschedule this call for a later time
ParameterssecondsLaterThe number of seconds after the originally scheduled time for which to reschedule this call. (type: float )
RaisesAlreadyCancelledRaised if this call has been cancelled.
AlreadyCalledRaised if this call has already been made.
def activate_delay(self): (source)
Undocumented
def active(self): (source)
Determine whether this call is still pending
ReturnsTrue if this call has not yet been made or cancelled, False otherwise. (type: bool )
def __le__(self, other): (source)
Undocumented
def __str__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.