Home | Trees | Indices | Help |
|
---|
|
object --+ | threading._Verbose --+ | threading.Thread --+ | X2GoProxy
X2GoProxy is an abstract class for X2Go proxy connections.
This class needs to be inherited from a concrete proxy class. Only currently available proxy class is: x2go.backends.proxy.nx3.X2GoProxy.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
obj
|
|
||
|
|||
Inherited from Inherited from |
Class Variables | |
PROXY_CMD =
Proxy command. |
|
PROXY_ARGS =
Arguments to be passed to the proxy command. |
|
PROXY_ENV =
Provide environment variables to the proxy command. |
|
session_info = None
|
|
session_log_stdout = None
|
|
session_log_stderr = None
|
|
fw_tunnel = None
|
|
proxy = None
|
Properties | |
Inherited from Inherited from |
Method Details |
This constructor should always be called with keyword arguments. Arguments are: *group* should be None; reserved for future extension when a ThreadGroup class is implemented. *target* is the callable object to be invoked by the run() method. Defaults to None, meaning nothing is called. *name* is the thread name. By default, a unique name is constructed of the form "Thread-N" where N is a small decimal number. *args* is the argument tuple for the target invocation. Defaults to (). *kwargs* is a dictionary of keyword arguments for the target invocation. Defaults to {}. If a subclass overrides the constructor, it must make sure to invoke the base class constructor (Thread.__init__()) before doing anything else to the thread.
|
Start the X2Go proxy command. The X2Go proxy command utilizes a Paramiko/SSH based forwarding tunnel (openssh -L option). This tunnel gets started here and is forked into background (Greenlet/gevent).
|
Override this method to incorporate elements from
This method (if overridden) should (by design) never fail nor raise an exception. Make sure to catch all possible errors appropriately. If you want to log ignored proxy_options then
|
Start the thread runner and wait for the proxy to come up.
|
Check if a proxy instance is up and running.
|
Class Variable Details |
PROXY_CMDProxy command. Needs to be set by a potential child class, might be OS specific.
|
PROXY_ARGSArguments to be passed to the proxy command. This needs to be set by a potential child class.
|
PROXY_ENVProvide environment variables to the proxy command. This also needs to be set by a child class.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Feb 7 02:25:00 2018 | http://epydoc.sourceforge.net |