wrapper for Session fields array of execute task
More...
wrapper for Session fields array of execute task
Definition at line 32 of file Commands.py.
◆ __init__()
def drce.Commands.Session.__init__ |
( |
|
self, |
|
|
|
tmode, |
|
|
|
ctype = TYPE_HOST_SHELL , |
|
|
|
maxExecutionTime = 0 |
|
) |
| |
Definition at line 42 of file Commands.py.
42 def __init__(self, tmode, ctype=TYPE_HOST_SHELL, maxExecutionTime=0):
53 self.time_max = maxExecutionTime
54 self.home_directory =
"" 55 if tmode == self.TMODE_SYNC:
56 self.cleanup = consts.TERMINATE_DATA_DELETE
58 self.cleanup = consts.TERMINATE_DATA_SAVE
def __init__(self)
constructor
◆ add_evn_pair()
def drce.Commands.Session.add_evn_pair |
( |
|
self, |
|
|
|
param_name, |
|
|
|
param_value |
|
) |
| |
Definition at line 61 of file Commands.py.
61 def add_evn_pair(self, param_name, param_value):
62 self.environment[param_name] = param_value
◆ cleanup
drce.Commands.Session.cleanup |
◆ environment
drce.Commands.Session.environment |
◆ home_directory
drce.Commands.Session.home_directory |
◆ password
drce.Commands.Session.password |
◆ port
drce.Commands.Session.port |
◆ shell
drce.Commands.Session.shell |
◆ time_max
drce.Commands.Session.time_max |
◆ timeout
drce.Commands.Session.timeout |
◆ tmode
drce.Commands.Session.tmode |
◆ TMODE_ASYNC
int drce.Commands.Session.TMODE_ASYNC = 2 |
|
static |
◆ TMODE_SYNC
int drce.Commands.Session.TMODE_SYNC = 1 |
|
static |
◆ type
drce.Commands.Session.type |
◆ TYPE_HOST_SHELL
int drce.Commands.Session.TYPE_HOST_SHELL = 0 |
|
static |
◆ TYPE_SSH
int drce.Commands.Session.TYPE_SSH = 1 |
|
static |
◆ user
drce.Commands.Session.user |
The documentation for this class was generated from the following file: