|
|
__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
|
|
bool
|
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
|
|
|
|
|
str
|
register(self,
server,
profile_id,
profile_name,
session_name=None,
control_backend='PLAIN',
terminal_backend='PLAIN',
info_backend='PLAIN',
list_backend='PLAIN',
proxy_backend='NX3',
settings_backend='FILE',
printing_backend='FILE',
client_rootdir='/sbuild-nonexistent/.x2goclient',
sessions_rootdir='/sbuild-nonexistent/.x2go',
ssh_rootdir='/sbuild-nonexistent/.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
|
pubapp_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 can
be providers for published application list. |
source code
|
|
list
|
|
list
|
|
list
|
|
list
|
|
X2GoControlSession* instance
|
|
list
|
connected_profiles(self,
use_paramiko=False,
return_profile_ids=True,
return_profile_names=False)
Retrieve a list of all currently connected session profiles. |
source code
|
|
list
|
get_master_session(self,
profile_name,
return_object=True,
return_session_name=False)
Retrieve the master session of a specific profile. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|