|
__init__(self,
client_instance,
logger=None,
loglevel=56)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
list
|
|
|
|
X2goSession instance
|
|
|
|
|
enable_session_auto_registration(self)
This method is used to temporarily (re-)enable auto-registration of
newly appearing X2go session on the server side. |
source code
|
|
|
forget(self,
session_uuid)
Forget the complete record for session UUID
session_uuid . |
source code
|
|
str
|
|
str
|
|
dict
|
|
|
update_status(self,
session_uuid=None,
profile_name=None,
profile_id=None,
session_list=None,
force_update=False,
newly_connected=False)
Update the session status for X2goSession that is represented by a given session
UUID hash, profile name or profile ID. |
source code
|
|
|
|
|
register(self,
server,
profile_id,
profile_name,
session_name=None,
control_backend=<class 'x2go.backends.control._stdout.X2goControlSessionSTDOUT'>,
terminal_backend=<class 'x2go.backends.terminal._stdout.X2goTerminalSessionSTDO... ,
info_backend=<class 'x2go.backends.info._stdout.X2goServerSessionInfoSTDOUT'>,
list_backend=<class 'x2go.backends.info._stdout.X2goServerSessionListSTDOUT'>,
proxy_backend=<class 'x2go.backends.proxy._nx3.X2goProxyNX3'>,
settings_backend=<class 'x2go.backends.settings._file.X2goClientSettingsFILE'>,
printing_backend=<class 'x2go.backends.printing._file.X2goClientPrintingFILE'>,
client_rootdir=' /home/buildd/.x2goclient ' ,
sessions_rootdir=' /home/buildd/.x2go ' ,
ssh_rootdir=' /home/buildd/.ssh ' ,
keep_controlsession_alive=True,
add_to_known_hosts=False,
known_hosts=None,
**kwargs)
Register a new X2goSession instance with this X2goSessionRegistry. |
source code
|
|
bool
|
|
X2goSession instance or str
|
|
list
|
connected_sessions(self,
return_objects=True,
return_profile_names=False,
return_profile_ids=False,
return_session_names=False)
Retrieve a list of sessions that the underlying X2goClient
instances is currently connected to. |
source code
|
|
list
|
associated_sessions(self,
return_objects=True,
return_profile_names=False,
return_profile_ids=False,
return_session_names=False)
Retrieve a list of sessions that are currently associated by an
X2goTerminalSession* to the underlying X2goClient
instance. |
source code
|
|
list
|
virgin_sessions(self,
return_objects=True,
return_profile_names=False,
return_profile_ids=False,
return_session_names=False)
Retrieve a list of sessions that are currently still in virgin state
(not yet connected, associated etc.). |
source code
|
|
list
|
running_sessions(self,
return_objects=True,
return_profile_names=False,
return_profile_ids=False,
return_session_names=False)
Retrieve a list of sessions that are currently in running state. |
source code
|
|
list
|
suspended_sessions(self,
return_objects=True,
return_profile_names=False,
return_profile_ids=False,
return_session_names=False)
Retrieve a list of sessions that are currently in suspended state. |
source code
|
|
list
|
terminated_sessions(self,
return_objects=True,
return_profile_names=False,
return_profile_ids=False,
return_session_names=False)
Retrieve a list of sessions that have terminated recently. |
source code
|
|
list
|
registered_sessions(self,
return_objects=True,
return_profile_names=False,
return_profile_ids=False,
return_session_names=False)
Retrieve a list of all registered sessions. |
source code
|
|
list
|
non_running_sessions(self,
return_objects=True,
return_profile_names=False,
return_profile_ids=False,
return_session_names=False)
Retrieve a list of sessions that are currently _NOT_ in running
state. |
source code
|
|
list
|
connected_sessions_of_profile_name(self,
profile_name,
return_objects=True,
return_session_names=False)
For a given session profile name retrieve a list of sessions that are
currently connected to the profile's X2go server. |
source code
|
|
list
|
|
list
|
|
list
|
|
list
|
|
list
|
|
X2goControlSession* instance
|
|
list
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|