Robot Framework SSH Library
SSHLibrary.pythonclient.RemoteCommand Class Reference
Inheritance diagram for SSHLibrary.pythonclient.RemoteCommand:
SSHLibrary.abstractclient.AbstractCommand

Public Member Functions

def read_outputs (self, timeout=None, output_during_execution=False, output_if_timeout=False)
 
- Public Member Functions inherited from SSHLibrary.abstractclient.AbstractCommand
def __init__ (self, command, encoding)
 
def run_in (self, shell, sudo=False, sudo_password=None, invoke_subsystem=False)
 Runs this command in the given shell. More...
 
def read_outputs (self)
 Returns the outputs of this command. More...
 

Private Member Functions

def _receive_stdout_and_stderr (self, timeout=None, output_during_execution=False, output_if_timeout=False)
 
def _flush_stdout_and_stderr (self, stderr_filebuffer, stderrs, stdout_filebuffer, stdouts, timeout=None, output_during_execution=False, output_if_timeout=False)
 
def _output_logging (self, stderr_filebuffer, stderrs, stdout_filebuffer, stdouts, output_during_execution=False)
 
def _shell_open (self)
 
def _execute (self)
 
def _execute_with_sudo (self, sudo_password=None)
 
def _invoke (self)
 

Detailed Description

Definition at line 435 of file pythonclient.py.

Member Function Documentation

◆ _execute()

def SSHLibrary.pythonclient.RemoteCommand._execute (   self)
private

Reimplemented from SSHLibrary.abstractclient.AbstractCommand.

Definition at line 490 of file pythonclient.py.

◆ _execute_with_sudo()

def SSHLibrary.pythonclient.RemoteCommand._execute_with_sudo (   self,
  sudo_password = None 
)
private

Reimplemented from SSHLibrary.abstractclient.AbstractCommand.

Definition at line 493 of file pythonclient.py.

◆ _flush_stdout_and_stderr()

def SSHLibrary.pythonclient.RemoteCommand._flush_stdout_and_stderr (   self,
  stderr_filebuffer,
  stderrs,
  stdout_filebuffer,
  stdouts,
  timeout = None,
  output_during_execution = False,
  output_if_timeout = False 
)
private

Definition at line 456 of file pythonclient.py.

◆ _invoke()

def SSHLibrary.pythonclient.RemoteCommand._invoke (   self)
private

Reimplemented from SSHLibrary.abstractclient.AbstractCommand.

Definition at line 500 of file pythonclient.py.

◆ _output_logging()

def SSHLibrary.pythonclient.RemoteCommand._output_logging (   self,
  stderr_filebuffer,
  stderrs,
  stdout_filebuffer,
  stdouts,
  output_during_execution = False 
)
private

Definition at line 472 of file pythonclient.py.

◆ _receive_stdout_and_stderr()

def SSHLibrary.pythonclient.RemoteCommand._receive_stdout_and_stderr (   self,
  timeout = None,
  output_during_execution = False,
  output_if_timeout = False 
)
private

Definition at line 443 of file pythonclient.py.

◆ _shell_open()

def SSHLibrary.pythonclient.RemoteCommand._shell_open (   self)
private

Definition at line 484 of file pythonclient.py.

◆ read_outputs()

def SSHLibrary.pythonclient.RemoteCommand.read_outputs (   self,
  timeout = None,
  output_during_execution = False,
  output_if_timeout = False 
)

Definition at line 437 of file pythonclient.py.


The documentation for this class was generated from the following file: