[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.0.44.2-23-gd3c36fa
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:30:25 CET 2014
The branch, build-baikal has been updated
via d3c36fac32d3c156d04febde76984928d9b5f1bb (commit)
from 2137a28d93efbc3b2dd3443e06de67109fca9db1 (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/forward.py | 40 +++++++++++++++++++++++-----------------
1 file changed, 23 insertions(+), 17 deletions(-)
The diff of changes is:
diff --git a/x2go/forward.py b/x2go/forward.py
index 73018f4..b7e3712 100644
--- a/x2go/forward.py
+++ b/x2go/forward.py
@@ -18,7 +18,8 @@
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
"""\
-Python Gevent based X2go port forwarding server (openssh -L option) for the X2go proxy.
+Python Gevent based port forwarding server (openssh -L option) for the
+proxying of graphical X2go elements.
"""
__NAME__ = "x2gofwtunnel-pylib"
@@ -40,26 +41,28 @@ class X2goFwServer(StreamServer):
L{X2goFwServer} implements a gevent's StreamServer based Paramiko/SSH port
forwarding server.
- An L{X2goFwServer} class object is used to tunnel graphical traffic
+ An L{X2goFwServer} class object is used to tunnel graphical trafic
through an external proxy command launched by a C{X2goProxy*} backend.
- @param listener: listen on TCP/IP socket C{(<IP>, <Port>)}
- @type listener: C{tuple}
- @param remote_host: hostname or IP of remote host (in case of X2go mostly localhost)
- @type remote_host: C{str}
- @param remote_port: port of remote host
- @type remote_port: C{int}
- @param ssh_transport: a valid Paramiko/SSH transport object
- @type ssh_transport: C{instance}
- @param logger: you can pass an L{X2goLogger} object to the
- L{X2goFwServer} constructor
- @type logger: C{instance}
- @param loglevel: if no L{X2goLogger} object has been supplied a new one will be
- constructed with the given loglevel
- @type loglevel: C{int}
-
"""
def __init__ (self, listener, remote_host, remote_port, ssh_transport, session_instance=None, logger=None, loglevel=log.loglevel_DEFAULT,):
+ """\
+ @param listener: listen on TCP/IP socket C{(<IP>, <Port>)}
+ @type listener: C{tuple}
+ @param remote_host: hostname or IP of remote host (in case of X2go mostly localhost)
+ @type remote_host: C{str}
+ @param remote_port: port of remote host
+ @type remote_port: C{int}
+ @param ssh_transport: a valid Paramiko/SSH transport object
+ @type ssh_transport: C{instance}
+ @param logger: you can pass an L{X2goLogger} object to the
+ L{X2goFwServer} constructor
+ @type logger: C{instance}
+ @param loglevel: if no L{X2goLogger} object has been supplied a new one will be
+ constructed with the given loglevel
+ @type loglevel: C{int}
+
+ """
if logger is None:
self.logger = log.X2goLogger(loglevel=loglevel)
else:
@@ -130,7 +133,10 @@ class X2goFwServer(StreamServer):
loglevel=log.loglevel_INFO)
def close_channel(self):
+ """\
+ Close an open channel again.
+ """
if self.chan is not None:
self.chan.close()
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