class documentation

class _ExistingConnectionHelper: (source)

Constructor: _ExistingConnectionHelper(connection)

Implements interfaces: twisted.conch.endpoints._ISSHConnectionCreator

View In Hierarchy

_ExistingConnectionHelper implements _ISSHConnectionCreator by handing out an existing SSH connection which is supplied to its initializer.

Method __init__ No summary
Method cleanupConnection Do not do any cleanup on the connection. Leave that responsibility to whatever code created it in the first place.
Method secureConnection No summary
Instance Variable connection Undocumented
def __init__(self, connection): (source)
Parameters
connectionSee SSHCommandClientEndpoint.existingConnection's connection parameter.
def cleanupConnection(self, connection, immediate): (source)

Do not do any cleanup on the connection. Leave that responsibility to whatever code created it in the first place.

Parameters
connection:SSHConnectionThe SSHConnection which will not be modified in any way.
immediate:bool.An argument which will be ignored.
def secureConnection(self): (source)
Returns
A Deferred that fires synchronously with the already-established connection object.
connection = (source)

Undocumented