Part of twisted.internet.base View Source View In Hierarchy
Implements interfaces: twisted.internet.interfaces.IDelayedCall
Method | __init__ | No summary |
Method | getTime | Return the time at which this call will fire |
Method | cancel | Unschedule this call |
Method | reset | Reschedule this call for a different time |
Method | delay | Reschedule this call for a later time |
Method | activate_delay | Undocumented |
Method | active | Determine whether this call is still pending |
Method | __le__ | Implement <= operator between two DelayedCall
instances. |
Method | __lt__ | Implement < operator between two DelayedCall
instances. |
Method | __str__ | Undocumented |
Inherited from Ephemeral:
Method | __getstate__ | Undocumented |
Method | __setstate__ | Undocumented |
Parameters | time | Seconds from the epoch at which to call func . |
func | The callable to call. | |
args | The positional arguments to pass to the callable. | |
kw | The keyword arguments to pass to the callable. | |
cancel | A callable which will be called with this DelayedCall before cancellation. | |
reset | A 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. | |
seconds | If provided, a no-argument callable which will be used to determine the current time any time that information is needed. |
Returns | The number of seconds after the epoch at which this call is scheduled to be
made. (type: float ) |
Raises | AlreadyCancelled | Raised if this call has already been unscheduled. |
AlreadyCalled | Raised if this call has already been made. |
Parameters | secondsFromNow | The number of seconds from the time of the reset call at which
this call will be scheduled. (type: float ) |
Raises | AlreadyCancelled | Raised if this call has been cancelled. |
AlreadyCalled | Raised if this call has already been made. |
Parameters | secondsLater | The number of seconds after the originally scheduled time for which to
reschedule this call. (type: float ) |
Raises | AlreadyCancelled | Raised if this call has been cancelled. |
AlreadyCalled | Raised if this call has already been made. |
Returns | True if this call has not yet been made or cancelled, False otherwise. (type: bool ) |
<=
operator between two DelayedCall
instances.
Comparison is based on the time
attribute (unadjusted by
the delayed time).
<
operator between two DelayedCall
instances.
Comparison is based on the time
attribute (unadjusted by
the delayed time).