Home | Trees | Indices | Help |
|
---|
|
object --+ | X2GoListSessionsCache
For non-blocking operations in client applications using Python X2Go, it is recommended to enable the X2GoListSessionsCache. This can be done by calling the constructor of the X2GoClient class.
The session list and desktop cache gets updated in regular intervals
by a threaded X2GoSessionGuardian instance. For the session list and
desktop list update, the X2Go server commands
x2golistsessions
and x2godesktopsessions
are
called and the command's stdout is cached in the session list cache.
Whenever your client application needs access to either the server's session list or the server's desktop list the session cache is queried instead. This assures that the server's session/desktop list is available without delay, even on slow internet connections.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
X2GoServerSessionList* instance (or None )
|
|
||
list (or None )
|
|
||
list (or None )
|
|
||
bool
|
|
Class Variables | |
x2go_listsessions_cache =
|
Method Details |
|
Remove session list from cache for a given profile.
|
Check if session list cache elements are still valid (i.e. if all corresponding session profiles are still connected). If not so, remove invalid cache entries from the session list cache. |
Update X2GoListSessionsCache for all connected session profiles.
|
Update X2GoListSessionsCache (i.e. session/desktops) for
session profile
|
Retrieve a session list from the current cache content of X2GoListSessionsCache for a given X2GoSession instance (specified by its unique session UUID).
|
Retrieve a list of available desktop sessions from the current cache content of X2GoListSessionsCache for a given X2GoSession instance (specified by its unique session UUID).
|
Retrieve a list of mounted client shares from the current cache content of X2GoListSessionsCache for a given X2GoSession instance (specified by its unique session UUID).
|
Check if session information is cached.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 | http://epydoc.sourceforge.net |