| |
- exceptions.Exception
-
- TimeToQuit
- threading.Thread(threading._Verbose)
-
- TCPServerThread
- SocketServer.ThreadingTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer)
-
- ResponsiveThreadingTCPServer
class ResponsiveThreadingTCPServer(SocketServer.ThreadingTCPServer) |
|
|
|
- Method resolution order:
- ResponsiveThreadingTCPServer
- SocketServer.ThreadingTCPServer
- SocketServer.ThreadingMixIn
- SocketServer.TCPServer
- SocketServer.BaseServer
Methods defined here:
- _ResponsiveThreadingTCPServer__parseArgs = __parseArgs(self)
- Parse arguments in the hash passed along by the TCPServerThread
This allow request handlers to get some shared vars -- david
- __init__(self, server_address, RequestHandlerClass, lock, timeout=5.0, args=None)
- get_request(self)
- serve_forever(self)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'common.tcpserverthread'
Methods inherited from SocketServer.ThreadingMixIn:
- process_request(self, request, client_address)
- Start a new thread to process the request.
- process_request_thread(self, request, client_address)
- Same as in BaseServer but as a thread.
In addition, exception handling is done here.
Methods inherited from SocketServer.TCPServer:
- close_request(self, request)
- Called to clean up an individual request.
- fileno(self)
- Return socket file number.
Interface required by select().
- server_activate(self)
- Called by constructor to activate the server.
May be overridden.
- server_bind(self)
- Called by constructor to bind the socket.
May be overridden.
- server_close(self)
- Called to clean-up the server.
May be overridden.
Data and non-method functions inherited from SocketServer.TCPServer:
- address_family = 2
- allow_reuse_address = 0
- request_queue_size = 5
- socket_type = 1
Methods inherited from SocketServer.BaseServer:
- finish_request(self, request, client_address)
- Finish one request by instantiating RequestHandlerClass.
- handle_error(self, request, client_address)
- Handle an error gracefully. May be overridden.
The default is to print a traceback and continue.
- handle_request(self)
- Handle one request, possibly blocking.
- verify_request(self, request, client_address)
- Verify the request. May be overridden.
Return true if we should proceed with this request.
|
|