Package ClusterShell :: Package Engine :: Module Engine :: Class EngineTimer
[hide private]
[frames] | no frames]

Class EngineTimer

source code


Concrete class EngineTimer

An EngineTimer object represents a timer bound to an engine that fires at a preset time in the future. Timers can fire either only once or repeatedly at fixed time intervals. Repeating timers can also have their next firing time manually adjusted.

A timer is not a real-time mechanism; it fires when the task's underlying engine to which the timer has been added is running and able to check if the timer's firing time has passed.

Instance Methods [hide private]
 
__init__(self, fire_delay, interval, autoclose, handler)
Create a base timer.
source code
 
_fire(self) source code

Inherited from EngineBaseTimer: invalidate, is_valid, set_nextfire

Inherited from EngineBaseTimer (private): _set_engine

Method Details [hide private]

__init__(self, fire_delay, interval, autoclose, handler)
(Constructor)

source code 

Create a base timer.

Overrides: EngineBaseTimer.__init__
(inherited documentation)

_fire(self)

source code 
Overrides: EngineBaseTimer._fire