Package ClusterShell :: Package Worker :: Module Popen :: Class PopenClient
[hide private]
[frames] | no frames]

Class PopenClient

source code


Instance Methods [hide private]
 
__init__(self, worker, key, stderr, timeout, autoclose)
EngineClient initializer.
source code
 
_start(self)
Worker is starting.
source code
 
_close(self, abort, timeout)
Close client.
source code

Inherited from Worker.StreamClient: set_write_eof, write

Inherited from Worker.StreamClient (private): _flush_read, _handle_read, _read

Inherited from EngineClient.EngineClient: __repr__, abort

Inherited from Engine.Engine.EngineBaseTimer: invalidate, is_valid, set_nextfire

Inherited from Engine.Engine.EngineBaseTimer (private): _set_engine

Method Details [hide private]

__init__(self, worker, key, stderr, timeout, autoclose)
(Constructor)

source code 
EngineClient initializer.

Should be called from derived classes.

Arguments:
    worker -- parent worker instance
    key -- client key used by MsgTree (eg. node name)
    stderr -- boolean set if stderr is on a separate stream
    timeout -- client execution timeout value (float)
    autoclose -- boolean set to indicate whether this engine
                 client should be aborted as soon as all other
                 non-autoclosing clients have finished.

Overrides: Engine.Engine.EngineBaseTimer.__init__
(inherited documentation)

_start(self)

source code 

Worker is starting.

Overrides: EngineClient.EngineClient._start

_close(self, abort, timeout)

source code 

Close client. See EngineClient._close().

Overrides: EngineClient.EngineClient._close