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

Class Ssh

source code


Ssh EngineClient.

Instance Methods [hide private]
 
__init__(self, node, command, worker, stderr, timeout, autoclose=False)
Initialize Ssh EngineClient instance.
source code
 
_start(self)
Start worker, initialize buffers, prepare command.
source code
 
_close(self, force, timeout)
Close client.
source code
 
_handle_read(self)
Handle a read notification.
source code
 
_handle_error(self)
Handle a read error (stderr) notification.
source code

Inherited from EngineClient.EngineClient: error_fileno, reader_fileno, writer_fileno

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

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

Method Details [hide private]

__init__(self, node, command, worker, stderr, timeout, autoclose=False)
(Constructor)

source code 

Initialize Ssh EngineClient instance.

Overrides: Engine.Engine.EngineBaseTimer.__init__

_start(self)

source code 

Start worker, initialize buffers, prepare command.

Overrides: EngineClient.EngineClient._start

_close(self, force, timeout)

source code 

Close client. Called by engine after the client has been unregistered. This method should handle all termination types (normal, forced or on timeout).

Overrides: EngineClient.EngineClient._close

_handle_read(self)

source code 

Handle a read notification. Called by the engine as the result of an event indicating that a read is available.

Overrides: EngineClient.EngineClient._handle_read

_handle_error(self)

source code 

Handle a read error (stderr) notification.

Overrides: EngineClient.EngineClient._handle_error