[X2Go-Commits] python-x2go.git - release/0.4.0.x (branch) updated: 0.0.44.2-21-g8c1d94e
X2Go dev team
git-admin at x2go.org
Tue Jan 7 16:17:04 CET 2014
The branch, release/0.4.0.x has been updated
via 8c1d94e792cbcf8fb0b4eeb5258bc415af622172 (commit)
from 9a96522e08edce65750d1300c679bcf9e6edecc6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
x2go/guardian.py | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
The diff of changes is:
diff --git a/x2go/guardian.py b/x2go/guardian.py
index 0cf7d6e..4fe856e 100644
--- a/x2go/guardian.py
+++ b/x2go/guardian.py
@@ -19,7 +19,7 @@
"""\
X2goSessionGuardian class - a guardian thread that controls X2go session threads
-and their sub-threads (like reverse forwarding tunnels, Paramiko transport threads,
+and their sub-threads (like reverse forwarding tunnels, Paramiko transport threads,
etc.).
"""
@@ -43,10 +43,12 @@ def _sigterm_handle(s, f):
class X2goSessionGuardian(threading.Thread):
"""\
- L{X2goSessionGuardian} threads control X2go session threads and their sub-threads (like
- reverse forwarding tunnels, Paramiko transport threads, etc.). Their main function is
- to tidy up once a session gets interrupted (SIGTERM, SIGINT). There is one
- L{X2goSessionGuardian} for each L{X2goSession} instance.
+ L{X2goSessionGuardian} thread controls X2go session threads and their sub-threads (like
+ reverse forwarding tunnels, Paramiko transport threads, etc.). Its main function is
+ to tidy up once a session gets interrupted (SIGTERM, SIGINT).
+
+ There is one L{X2goSessionGuardian} for each L{X2goClient} instance (thus: for normal
+ setups there should be _one_ L{X2goClient} and _one_ L{X2goSessionGuardian} in use).
"""
@@ -59,6 +61,13 @@ class X2goSessionGuardian(threading.Thread):
"""\
@param auto_update_listsessions_cache: let L{X2goSessionGuardian} refresh the session list cache for all L{X2goSession} objects
@type auto_update_listsessions_cache: C{bool}
+ @param auto_update_sessionregistry: if set to C{true} the session status will be updated in regular intervals
+ @type auto_update_sessionregistry: C{bool}
+ @param auto_register_sessions: register new sessions automatically once they appear in the X2go session (e.g.
+ instantiated by another client that is connected to the same X2go server under same user ID)
+ @type auto_register_sessions: C{bool}
+ @param refresh_interval: refresh cache and session registry every <refresh_interval> seconds
+ @type refresh_interval: C{int}
@param logger: you can pass an L{X2goLogger} object to the L{X2goSessionGuardian} constructor
@type logger: C{instance}
@param loglevel: if no L{X2goLogger} object has been supplied a new one will be
hooks/post-receive
--
python-x2go.git (Python X2Go Client API)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).
More information about the x2go-commits
mailing list