twisted.conch.endpoints._ExistingConnectionHelper(object) class documentationtwisted.conch.endpoints
View Source
(View In Hierarchy)
Implements interfaces: twisted.conch.endpoints._ISSHConnectionCreator
_ExistingConnectionHelper
implements _ISSHConnectionCreator
by handing out an existing SSH connection which is supplied to its
initializer.
| Method | __init__ | |
| Method | secureConnection | |
| Method | cleanupConnection | Do not do any cleanup on the connection. Leave that responsibility to whatever code created it in the first place. |
| Parameters | connection | See SSHCommandClientEndpoint.existingConnection's
connection parameter. |
| Returns | A Deferred
that fires synchronously with the already-established connection object. | |
Do not do any cleanup on the connection. Leave that responsibility to whatever code created it in the first place.
| Parameters | connection | The SSHConnection
which will not be modified in any way. (type: SSHConnection) |
| immediate | An argument which will be ignored. (type: bool.) |