twisted.conch.endpoints._ISSHConnectionCreator(Interface) interface documentationtwisted.conch.endpoints
(View In Hierarchy)
Known implementations: twisted.conch.endpoints._ExistingConnectionHelper, twisted.conch.endpoints._NewConnectionHelper
An _ISSHConnectionCreator
knows how to create SSH connections somehow.
| Method | secureConnection | Return a new, connected, secured, but not yet authenticated instance of twisted.conch.ssh.transport.SSHServerTransportortwisted.conch.ssh.transport.SSHClientTransport. | 
| Method | cleanupConnection | Perform cleanup necessary for a connection object previously returned 
from this creator's secureConnectionmethod. | 
Return a new, connected, secured, but not yet authenticated instance of 
twisted.conch.ssh.transport.SSHServerTransport
or twisted.conch.ssh.transport.SSHClientTransport.
Perform cleanup necessary for a connection object previously returned 
from this creator's secureConnection method.
| Parameters | connection | An twisted.conch.ssh.transport.SSHServerTransportortwisted.conch.ssh.transport.SSHClientTransportreturned by a previous call tosecureConnection.  It is no 
longer needed by the caller of that method and may be closed or otherwise 
cleaned up as necessary. | 
| immediate | If Truedon't wait for any network communication, just close 
the connection immediately and as aggressively as necessary. |