MCPcopy
hub / github.com/aosabook/500lines / ThreadingTCPServer

Class ThreadingTCPServer

ci/code/test_runner.py:25–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25class ThreadingTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer):
26 dispatcher_server = None # Holds the dispatcher server host/port information
27 last_communication = None # Keeps track of last communication from dispatcher
28 busy = False # Status flag
29 dead = False # Status flag
30
31
32class TestHandler(SocketServer.BaseRequestHandler):

Callers 1

serveFunction · 0.70

Calls

no outgoing calls

Tested by 1

serveFunction · 0.56