b.t.t.StringIOSSHConnection(ssh.SSHConnection) : class documentation

Part of bzrlib.tests.test_smart_transport View In Hierarchy

A SSH connection that uses StringIO to buffer writes and answer reads.
Method __init__ Undocumented
Method close Undocumented
Method get_sock_or_pipes Returns a (kind, io_object) pair.
def __init__(self, vendor):
Undocumented
def close(self):
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).

API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.