Home | Trees | Indices | Help |
|
---|
|
object --+ | threading._Verbose --+ | threading.Thread --+ | X2GoRevFwTunnel
X2GoRevFwTunnel class objects are used to reversely tunnel X2Go audio, X2Go printing and X2Go folder sharing / device mounting through Paramiko/SSH.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Properties | |
Inherited from Inherited from |
Method Details |
Setup a reverse tunnel through Paramiko/SSH. After the reverse tunnel has been setup up with X2GoRevFwTunnel.start() it waits for notification from X2GoRevFwTunnel.notify() to accept incoming channels. This notification (X2GoRevFwTunnel.notify() gets called from within the transport's TCP handler function x2go_transport_tcp_handler of the X2GoSession instance.
|
Cancel a port forwarding request. This cancellation request is sent to the server and on the server the port forwarding should be unregistered.
|
Prevent acceptance of new incoming connections through the Paramiko/SSH reverse forwarding tunnel. Also, any active connection on this X2GoRevFwTunnel instance will be closed immediately, if this method is called. |
Notify an X2GoRevFwTunnel instance of an incoming Paramiko/SSH channel. If an incoming reverse tunnel channel appropriate for this instance has been detected, this method gets called from the X2GoSession's transport TCP handler. The sent notification will trigger a |
This method gets run once an X2GoRevFwTunnel has been started with its start() method. Use X2GoRevFwTunnel.stop_thread() to stop the reverse forwarding tunnel again. You can also temporarily lock the tunnel down with X2GoRevFwTunnel.pause() and X2GoRevFwTunnel.resume()). X2GoRevFwTunnel.run() waits for notifications of an
appropriate incoming Paramiko/SSH channel (issued by X2GoRevFwTunnel.notify()). Appropriate in this context
means, that its start point on the X2Go server matches the class's
property Once a new incoming channel gets announced by the notify() method, a new X2GoRevFwChannelThread instance will be initialized. As a data stream handler, the function x2go_rev_forward_channel_handler() will be used. The channel will last till the connection gets dropped on the X2Go server side or until the tunnel gets paused by an X2GoRevFwTunnel.pause() call or stopped via the X2GoRevFwTunnel.stop_thread() method.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 30 11:58:26 2016 | http://epydoc.sourceforge.net |