• Home
  • Raw
  • Download

Lines Matching refs:socketserver

14 import socketserver
47 class ForkingUnixStreamServer(socketserver.ForkingMixIn,
48 socketserver.UnixStreamServer):
51 class ForkingUnixDatagramServer(socketserver.ForkingMixIn,
52 socketserver.UnixDatagramServer):
153 if HAVE_FORKING and isinstance(server, socketserver.ForkingMixIn):
181 self.run_server(socketserver.TCPServer,
182 socketserver.StreamRequestHandler,
186 self.run_server(socketserver.ThreadingTCPServer,
187 socketserver.StreamRequestHandler,
193 self.run_server(socketserver.ForkingTCPServer,
194 socketserver.StreamRequestHandler,
199 self.run_server(socketserver.UnixStreamServer,
200 socketserver.StreamRequestHandler,
205 self.run_server(socketserver.ThreadingUnixStreamServer,
206 socketserver.StreamRequestHandler,
214 socketserver.StreamRequestHandler,
218 self.run_server(socketserver.UDPServer,
219 socketserver.DatagramRequestHandler,
223 self.run_server(socketserver.ThreadingUDPServer,
224 socketserver.DatagramRequestHandler,
230 self.run_server(socketserver.ForkingUDPServer,
231 socketserver.DatagramRequestHandler,
236 self.run_server(socketserver.UnixDatagramServer,
237 socketserver.DatagramRequestHandler,
242 self.run_server(socketserver.ThreadingUnixDatagramServer,
243 socketserver.DatagramRequestHandler,
250 socketserver.DatagramRequestHandler,
257 class MyServer(socketserver.TCPServer):
260 class MyHandler(socketserver.StreamRequestHandler):
286 socketserver.TCPServer((HOST, -1),
287 socketserver.StreamRequestHandler)
290 with socketserver.TCPServer((HOST, 0),
291 socketserver.StreamRequestHandler) as server:
337 class BaseErrorTestServer(socketserver.TCPServer):
357 class BadHandler(socketserver.BaseRequestHandler):
364 class ThreadingErrorTestServer(socketserver.ThreadingMixIn,
379 class ForkingErrorTestServer(socketserver.ForkingMixIn, BaseErrorTestServer):
385 class Handler(socketserver.StreamRequestHandler):
391 server = socketserver.TCPServer((HOST, 0), Handler)
406 class Handler(socketserver.StreamRequestHandler):
414 server = socketserver.TCPServer((HOST, 0), Handler)
465 for name in dir(socketserver):
467 mod_object = getattr(socketserver, name)
470 self.assertCountEqual(socketserver.__all__, expected)
476 class MyServer(socketserver.TCPServer):
483 socketserver.TCPServer.shutdown_request(self, request)
485 server = MyServer((HOST, 0), socketserver.StreamRequestHandler)