This method gets run once an X2GoRevFwTunnelToSFTP has been started with its start()
method. Use X2GoRevFwTunnelToSFTP.stop_thread() to stop the reverse
forwarding tunnel again (refer also to its pause() and resume()
method).
X2GoRevFwTunnelToSFTP.run() waits for notifications of
an appropriate incoming Paramiko/SSH channel (issued by X2GoRevFwTunnelToSFTP.notify()). Appropriate in this
context means, that its starting point on the X2Go server matches the
class's property server_port .
Once a new incoming channel gets announced by the notify() method, a new X2GoRevFwSFTPChannelThread instance will be initialized.
As a data stream handler, the function x2go_rev_forward_sftpchannel_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 X2GoRevFwTunnelToSFTP.pause() call or stopped via the
X2GoRevFwTunnelToSFTP.stop_thread() method.
- Overrides:
threading.Thread.run
|