Lines Matching refs:SocketServer
2 Test suite for SocketServer.py.
15 import SocketServer
48 class ForkingUnixStreamServer(SocketServer.ForkingMixIn,
49 SocketServer.UnixStreamServer):
52 class ForkingUnixDatagramServer(SocketServer.ForkingMixIn,
53 SocketServer.UnixDatagramServer):
182 self.run_server(SocketServer.TCPServer,
183 SocketServer.StreamRequestHandler,
187 self.run_server(SocketServer.ThreadingTCPServer,
188 SocketServer.StreamRequestHandler,
194 self.run_server(SocketServer.ForkingTCPServer,
195 SocketServer.StreamRequestHandler,
200 self.run_server(SocketServer.UnixStreamServer,
201 SocketServer.StreamRequestHandler,
205 self.run_server(SocketServer.ThreadingUnixStreamServer,
206 SocketServer.StreamRequestHandler,
213 SocketServer.StreamRequestHandler,
217 self.run_server(SocketServer.UDPServer,
218 SocketServer.DatagramRequestHandler,
222 self.run_server(SocketServer.ThreadingUDPServer,
223 SocketServer.DatagramRequestHandler,
229 self.run_server(SocketServer.ForkingUDPServer,
230 SocketServer.DatagramRequestHandler,
259 pid = self.run_server(SocketServer.TCPServer,
260 SocketServer.StreamRequestHandler,
270 # self.run_server(SocketServer.UnixDatagramServer,
271 # SocketServer.DatagramRequestHandler,
275 # self.run_server(SocketServer.ThreadingUnixDatagramServer,
276 # SocketServer.DatagramRequestHandler,
281 # self.run_server(SocketServer.ForkingUnixDatagramServer,
282 # SocketServer.DatagramRequestHandler,
289 class MyServer(SocketServer.TCPServer):
292 class MyHandler(SocketServer.StreamRequestHandler):