b.t.t.TestingThreadingTCPServer(TestingTCPServerMixin, SocketServer.ThreadingTCPServer) : class documentation

Part of bzrlib.tests.test_server View In Hierarchy

Known subclasses: bzrlib.tests.http_server.TestingThreadingHTTPServer, bzrlib.tests.stub_sftp.TestingSFTPServer, bzrlib.tests.test_server.TestingSmartServer

No class docstring
Method __init__ Undocumented
Method get_request Get the request and client address from the socket.
Method process_request_thread Undocumented
Method process_request Start a new thread to process the request.
Method shutdown_client Undocumented
Method set_ignored_exceptions Undocumented
Method _pending_exception Raise server uncaught exception.

Inherited from TestingTCPServerMixin:

Method server_bind Undocumented
Method serve Undocumented
Method handle_request Handle one request.
Method verify_request Verify the request.
Method handle_error Undocumented
Method ignored_exceptions_during_shutdown Undocumented
Method stop_client_connections Undocumented
Method shutdown_socket Properly shutdown a socket.
def __init__(self, server_address, request_handler_class):
Undocumented
def get_request(self):
Get the request and client address from the socket.
def process_request_thread(self, started, stopped, request, client_address):
Undocumented
def process_request(self, request, client_address):
Start a new thread to process the request.
def shutdown_client(self, client):
Undocumented
def set_ignored_exceptions(self, thread, ignored_exceptions):
Undocumented
def _pending_exception(self, thread):
Raise server uncaught exception.

Daughter classes can override this if they use daughter threads.

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