You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
564 B
16 lines
564 B
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import SimpleXMLRPCServer
|
|
from SocketServer import ThreadingMixIn
|
|
|
|
|
|
class MultiThreadedXMLRPCServer(ThreadingMixIn,
|
|
SimpleXMLRPCServer.SimpleXMLRPCServer):
|
|
"""
|
|
This class simply subclasses SimepleXMLRPCServer and ThreadingMixIn so that
|
|
our XMLRPCSERVER will be multi-threaded and can handle multiple xml-rpc
|
|
requests in parallel.
|
|
"""
|
|
pass |