b.t.s.SSHConnection(object) : class documentation

Part of bzrlib.transport.ssh View In Hierarchy

Known subclasses: bzrlib.tests.test_smart_transport.StringIOSSHConnection, bzrlib.transport.ssh._ParamikoSSHConnection, bzrlib.transport.ssh.SSHSubprocessConnection

Abstract base class for SSH connections.
Method get_sock_or_pipes Returns a (kind, io_object) pair.
Method close Undocumented
def get_sock_or_pipes(self):
Returns a (kind, io_object) pair.

If kind == 'socket', then io_object is a socket.

If kind == 'pipes', then io_object is a pair of file-like objects (read_from, write_to).

def close(self):
API Documentation for Bazaar, generated by pydoctor at 2019-07-19 00:30:15.