Interface for ClusterShell engine. Subclasses have to implement a
runloop listening for client events.
|
|
__init__(self,
info)
Initialize base class. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modify(self,
client,
set,
clear)
Modify the next loop interest events bitset for a client. |
source code
|
|
|
|
set_events(self,
client,
new_events)
Set the active interest events bitset for a client. |
source code
|
|
|
|
|
|
|
remove_timer(self,
timer)
Remove engine timer. |
source code
|
|
|
|
fire_timers(self)
Fire expired timers for processing. |
source code
|
|
|
|
start_all(self)
Start and register all possible clients, in respect of task fanout. |
source code
|
|
|
|
run(self,
timeout)
Run engine in calling thread. |
source code
|
|
|
|
|
|
|
|
|
|
join(self)
Block calling thread until runloop has finished. |
source code
|
|
|
|
|