Package x2go :: Package backends :: Package info :: Module _stdout :: Class X2goServerSessionInfoSTDOUT
[frames] | no frames]

Class X2goServerSessionInfoSTDOUT

source code

object --+
         |
        X2goServerSessionInfoSTDOUT

X2goServerSessionInfo is used to store all information that is retrieved from the connected X2go server on X2goTerminalSessionBACKEND.start() resp. X2goTerminalSessionBACKEND.resume().

Instance Methods
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
is_running(self) source code
 
is_suspended(self) source code
 
initialize(self, x2go_output, username='', hostname='', local_container='', remote_container='')
Parse X2go server's x2gostartagent stdout values.
source code
 
clear(self)
Clear all properties of a X2goServerSessionInfo object.
source code
 
__init__(self)
Clear all properties of a X2goServerSessionInfo object.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

initialize(self, x2go_output, username='', hostname='', local_container='', remote_container='')

source code 

Parse X2go server's x2gostartagent stdout values.

Parameters:
  • x2go_output (str) - X2go server's x2gostartagent command output, each value separated by a newline character.
  • username (str) - session user name
  • hostname (str) - hostname of X2go server
  • local_container (str) - X2go client session directory for config files, cache and session logs
  • remote_container (str) - X2go server session directory for config files, cache and session logs

__init__(self)
(Constructor)

source code 

Clear all properties of a X2goServerSessionInfo object.

Overrides: object.__init__