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

Class CopyClient

source code


Run a local `cp' between a source and destination.

Destination could be a directory.

Instance Methods [hide private]
 
__init__(self, node, source, dest, worker, stderr, timeout, autoclose, preserve, reverse, rank=None)
Create an EngineClient-type instance to locally run 'cp'.
source code
 
_build_cmd(self)
Build the shell command line to start the rcp commmand.
source code

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, node, source, dest, worker, stderr, timeout, autoclose, preserve, reverse, rank=None)
(Constructor)

source code 

Create an EngineClient-type instance to locally run 'cp'.

Overrides: Engine.Engine.EngineBaseTimer.__init__

_build_cmd(self)

source code 

Build the shell command line to start the rcp commmand. Return an array of command and arguments.

Overrides: ExecClient._build_cmd