hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
eltpk_preset.EltpkClient Class Reference

Test client for the eltpk server. More...

Inheritance diagram for eltpk_preset.EltpkClient:

Public Member Functions

def __init__ (self, args, log_level=logging.DEBUG)
 
def preset (self, args)
 Setup connection and sends commands to server.
 
def preset_standard_test (self, args)
 Setup connection and sends test commands to server.
 

Static Public Member Functions

def parse_args (arguments)
 Static methods implementing MAIN () behavior in the class with parsing of command line arguments This allows testing from modular test the full behavior, including main startup.
 
def main (arguments)
 Execute the main using the command line arguments passed as a list.
 

Public Attributes

 eltpk_std_cmds
 
 trksim_std_cmds
 
 service_commands
 

Detailed Description

Test client for the eltpk server.

Constructor & Destructor Documentation

◆ __init__()

def eltpk_preset.EltpkClient.__init__ (   self,
  args,
  log_level = logging.DEBUG 
)

Member Function Documentation

◆ main()

def eltpk_preset.EltpkClient.main (   arguments)
static

Execute the main using the command line arguments passed as a list.

If you pass the command line arguments, first remove argv[0] by passing:

sys.argv[1:]

◆ parse_args()

def eltpk_preset.EltpkClient.parse_args (   arguments)
static

Static methods implementing MAIN () behavior in the class with parsing of command line arguments This allows testing from modular test the full behavior, including main startup.

Parses the command line arguments passed as a list If you pass the command line arguments, first remove argv[0] by passing:

sys.argv[1:]

◆ preset()

def eltpk_preset.EltpkClient.preset (   self,
  args 
)

Setup connection and sends commands to server.

args is the set of arguments passed on the command line. ToDo could be better refactored not to pass all of them.

◆ preset_standard_test()

def eltpk_preset.EltpkClient.preset_standard_test (   self,
  args 
)

Setup connection and sends test commands to server.

args is the set of arguments passed on the command line. ToDo could be better refactored not to pass all of them.

Member Data Documentation

◆ eltpk_std_cmds

eltpk_preset.EltpkClient.eltpk_std_cmds

◆ service_commands

eltpk_preset.EltpkClient.service_commands

◆ trksim_std_cmds

eltpk_preset.EltpkClient.trksim_std_cmds

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