class documentation

class twisted.conch.endpoints._ExistingConnectionHelper: (source)

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__
Instance Variable connection Undocumented
Method secureConnection
Method cleanupConnection Do not do any cleanup on the connection. Leave that responsibility to whatever code created it in the first place.
def __init__(self, connection): (source)
ParametersconnectionSee SSHCommandClientEndpoint.existingConnection's connection parameter.
connection = (source)

Undocumented

def secureConnection(self): (source)
ReturnsA Deferred that fires synchronously with the already-established connection object.
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.

ParametersconnectionThe SSHConnection which will not be modified in any way. (type: SSHConnection)
immediateAn argument which will be ignored. (type: bool.)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.