Package ClusterShell :: Package Worker :: Module Tree :: Class MetaWorkerEventHandler
[hide private]
[frames] | no frames]

Class MetaWorkerEventHandler

source code


Handle events for the meta worker WorkerTree

Instance Methods [hide private]
 
__init__(self, metaworker)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
ev_start(self, worker)
Called to indicate that a worker has just started.
source code
 
ev_read(self, worker)
Called to indicate that a worker has data to read.
source code
 
ev_error(self, worker)
Called to indicate that a worker has error to read (on stderr).
source code
 
ev_written(self, worker, node, sname, size)
Called to indicate that writing has been done.
source code
 
ev_hup(self, worker)
Called to indicate that a worker's connection has been closed.
source code
 
ev_timeout(self, worker)
Called to indicate that a worker has timed out (worker timeout only).
source code
 
ev_close(self, worker)
Called to indicate that a worker has just finished (it may already have failed on timeout).
source code

Inherited from Event.EventHandler: ev_msg, ev_pickup, ev_timer

Inherited from Event.EventHandler (private): _ev_routing

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, metaworker)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

ev_start(self, worker)

source code 

Called to indicate that a worker has just started.

Overrides: Event.EventHandler.ev_start

ev_read(self, worker)

source code 

Called to indicate that a worker has data to read.

Overrides: Event.EventHandler.ev_read

ev_error(self, worker)

source code 

Called to indicate that a worker has error to read (on stderr).

Overrides: Event.EventHandler.ev_error

ev_written(self, worker, node, sname, size)

source code 

Called to indicate that writing has been done.

Overrides: Event.EventHandler.ev_written

ev_hup(self, worker)

source code 

Called to indicate that a worker's connection has been closed.

Overrides: Event.EventHandler.ev_hup

ev_timeout(self, worker)

source code 

Called to indicate that a worker has timed out (worker timeout only).

Overrides: Event.EventHandler.ev_timeout

ev_close(self, worker)

source code 

Called to indicate that a worker has just finished (it may already have failed on timeout).

Overrides: Event.EventHandler.ev_close