b.t.s.SFTPServer(test_server.TestingTCPServerInAThread) : class documentation

Part of bzrlib.tests.stub_sftp View In Hierarchy

Known subclasses: bzrlib.tests.stub_sftp.SFTPFullAbsoluteServer, bzrlib.tests.stub_sftp.SFTPServerWithoutSSH

Common code for SFTP server facilities.
Method __init__ Undocumented
Method log StubServer uses this to log when a new server is created.
Method create_server Undocumented
Method get_host_key Undocumented
Method start_server Setup the server to service requests.
Method stop_server Remove the server and cleanup any resources it owns.
Method get_bogus_url See bzrlib.transport.Server.get_bogus_url.
Method _get_sftp_url Calculate an sftp url to this server for path.

Inherited from TestingTCPServerInAThread:

Method __repr__ Undocumented
Method run_server Undocumented
Method set_ignored_exceptions Install an exception handler for the server.
Method pending_exception Raise uncaught exception in the server.
def __init__(self, server_interface=StubServer):
Undocumented
def _get_sftp_url(self, path):
Calculate an sftp url to this server for path.
def log(self, message):
StubServer uses this to log when a new server is created.
def create_server(self):
Undocumented
def get_host_key(self):
Undocumented
def start_server(self, backing_server=None):
Setup the server to service requests.
def stop_server(self):
Remove the server and cleanup any resources it owns.
def get_bogus_url(self):
See bzrlib.transport.Server.get_bogus_url.
API Documentation for Bazaar, generated by pydoctor at 2019-07-20 00:30:16.