Module clush :: Class DirectOutputHandler
[hide private]
[frames] | no frames]

Class DirectOutputHandler

source code


Direct output event handler class.

Instance Methods [hide private]
 
__init__(self, display)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
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_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 ClusterShell.Event.EventHandler: ev_msg, ev_start, ev_timer, ev_written

Inherited from ClusterShell.Event.EventHandler (private): _invoke

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, display)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

ev_read(self, worker)

source code 

Called to indicate that a worker has data to read.

Overrides: ClusterShell.Event.EventHandler.ev_read
(inherited documentation)

ev_error(self, worker)

source code 

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

Overrides: ClusterShell.Event.EventHandler.ev_error
(inherited documentation)

ev_hup(self, worker)

source code 

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

Overrides: ClusterShell.Event.EventHandler.ev_hup
(inherited documentation)

ev_timeout(self, worker)

source code 

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

Overrides: ClusterShell.Event.EventHandler.ev_timeout
(inherited documentation)

ev_close(self, worker)

source code 

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

Overrides: ClusterShell.Event.EventHandler.ev_close
(inherited documentation)