Home
last modified time | relevance | path

Searched refs:socketserver (Results 1 – 25 of 70) sorted by relevance

123

/external/python/cpython3/Lib/test/
Dtest_socketserver.py14 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):
183 self.run_server(socketserver.TCPServer,
184 socketserver.StreamRequestHandler,
188 self.run_server(socketserver.ThreadingTCPServer,
189 socketserver.StreamRequestHandler,
[all …]
Dtest_imaplib.py7 import socketserver
98 class SecureTCPServer(socketserver.TCPServer):
117 class SimpleIMAPHandler(socketserver.StreamRequestHandler):
253 class EOFHandler(socketserver.StreamRequestHandler):
497 server_class = socketserver.TCPServer
538 server_class = socketserver.TCPServer
657 class EOFHandler(socketserver.StreamRequestHandler):
/external/curl/tests/
Ddictserver.py13 import SocketServer as socketserver namespace
15 import socketserver
40 socketserver.TCPServer.allow_reuse_address = True
41 server = socketserver.TCPServer(local_bind, DictHandler)
47 class DictHandler(socketserver.BaseRequestHandler):
Dnegtelnetserver.py13 import SocketServer as socketserver namespace
15 import socketserver
42 socketserver.TCPServer.allow_reuse_address = True
43 server = socketserver.TCPServer(local_bind, NegotiatingTelnetHandler)
49 class NegotiatingTelnetHandler(socketserver.BaseRequestHandler):
/external/python/cpython3/Doc/library/
Dsocketserver.rst1 :mod:`socketserver` --- A framework for network servers
4 .. module:: socketserver
7 **Source code:** :source:`Lib/socketserver.py`
11 The :mod:`socketserver` module simplifies the task of writing network servers.
118 :meth:`socketserver.ForkingMixIn.server_close` waits until all child
120 :attr:`socketserver.ForkingMixIn.block_on_close` attribute is false.
122 :meth:`socketserver.ThreadingMixIn.server_close` waits until all non-daemon
124 :attr:`socketserver.ThreadingMixIn.block_on_close` attribute is false. Use
131 :meth:`socketserver.ForkingMixIn.server_close` and
132 :meth:`socketserver.ThreadingMixIn.server_close` now waits until all
[all …]
Dinternet.rst41 socketserver.rst
/external/webrtc/webrtc/base/
Dsignalthread_unittest.cc54 Thread::Current()->socketserver()->Wait(250, false); in DoWork()
115 Thread::Current()->socketserver()->Wait(100, false); in Run()
142 Thread::Current()->socketserver()->Wait(10, false); in TEST_F()
149 Thread::Current()->socketserver()->Wait(500, false); in TEST_F()
Dtestclient_unittest.cc22 AsyncSocket* socket = main->socketserver() in TestUdpInternal()
38 AsyncSocket* socket = main->socketserver() in TestTcpInternal()
Dthread.cc363 current_thread->socketserver()->Wait(kForever, false); in Send()
381 current_thread->socketserver()->WakeUp(); in Send()
405 smsg.thread->socketserver()->WakeUp(); in ReceiveSendsFromThread()
450 smsg.thread->socketserver()->WakeUp(); in Clear()
Dsocket_unittest.h27 virtual void SetUp() { ss_ = Thread::Current()->socketserver(); } in SetUp()
Dtestechoserver.h27 : server_socket_(thread->socketserver()->CreateAsyncSocket(addr.family(), in TestEchoServer()
Dfirewallsocketserver.h34 SocketServer* socketserver() const { return server_; } in socketserver() function
/external/webrtc/webrtc/p2p/base/
Dtestrelayserver.h35 thread->socketserver(), udp_int_addr)); in TestRelayServer()
37 thread->socketserver(), udp_ext_addr)); in TestRelayServer()
58 thread->socketserver()->CreateAsyncSocket(addr.family(), SOCK_STREAM); in CreateListenSocket()
Dtestturnserver.h78 thread->socketserver(), int_addr), proto); in AddInternalSocket()
83 thread->socketserver()->CreateAsyncSocket(SOCK_STREAM); in AddInternalSocket()
Dteststunserver.h26 thread->socketserver()->CreateAsyncSocket(addr.family(), SOCK_DGRAM); in Create()
/external/webrtc/webrtc/examples/relayserver/
Drelayserver_main.cc39 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), int_addr)); in main()
47 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), ext_addr)); in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/
Dcoverage-report-server.py28 import socketserver
193 socketserver.TCPServer.allow_reuse_address = True
194 httpd = socketserver.TCPServer((args.host, args.port), ServerHandler)
/external/tensorflow/tensorflow/contrib/cloud/python/ops/
Dbigquery_reader_ops_test.py28 from six.moves import socketserver
97 class IPv6TCPServer(socketserver.TCPServer):
114 self.httpd = socketserver.TCPServer((address, port), self.handler)
/external/python/cpython3/Lib/idlelib/
Drpc.py38 import socketserver
74 class RPCServer(socketserver.TCPServer):
79 socketserver.TCPServer.__init__(self, addr, handlerclass)
507 class RPCHandler(socketserver.BaseRequestHandler, SocketIO):
515 socketserver.BaseRequestHandler.__init__(self, sock, addr, svr)
/external/webrtc/webrtc/examples/stunserver/
Dstunserver_main.cc37 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), server_addr); in main()
/external/python/cpython3/Lib/http/
Dserver.py102 import socketserver
131 class HTTPServer(socketserver.TCPServer):
137 socketserver.TCPServer.server_bind(self)
143 class ThreadingHTTPServer(socketserver.ThreadingMixIn, HTTPServer):
147 class BaseHTTPRequestHandler(socketserver.StreamRequestHandler):
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py11 import socketserver
202 class UnixHTTPServer(socketserver.UnixStreamServer, HTTPServer):
205 socketserver.UnixStreamServer.server_bind(self)
/external/python/cpython2/Doc/library/
Dinternet.rst39 socketserver.rst
/external/webrtc/webrtc/examples/turnserver/
Dturnserver_main.cc65 rtc::AsyncUDPSocket::Create(main->socketserver(), int_addr); in main()
/external/python/cpython3/Lib/xmlrpc/
Dserver.py112 import socketserver
579 class SimpleXMLRPCServer(socketserver.TCPServer,
604 socketserver.TCPServer.__init__(self, addr, requestHandler, bind_and_activate)

123