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

Class X2goServerSessionListSTDOUT

source code

object --+
         |
        X2goServerSessionListSTDOUT

X2goServerSessionListSTDOUT is used to store all information that is retrieved from a connected X2go server on a X2goControlSessionBACKEND.list_sessions() call.

Instance Methods
 
__init__(self, x2go_output, info_backend=<class 'x2go.backends.info._stdout.X2goServerSessionInfoSTDOUT'>)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__call__(self) source code
 
get_session_info(self, session_name)
STILL UNDOCUMENTED
source code

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

Properties

Inherited from object: __class__

Method Details

__init__(self, x2go_output, info_backend=<class 'x2go.backends.info._stdout.X2goServerSessionInfoSTDOUT'>)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • x2go_output (str) - X2go server's x2golistsessions command output, each session separated by a newline character. Session values are separated by Unix Pipe Symbols ('|')
Overrides: object.__init__