1# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import SimpleXMLRPCServer 6from SocketServer import ThreadingMixIn 7 8 9class MultiThreadedXMLRPCServer(ThreadingMixIn, 10 SimpleXMLRPCServer.SimpleXMLRPCServer): 11 """ 12 This class simply subclasses SimepleXMLRPCServer and ThreadingMixIn so that 13 our XMLRPCSERVER will be multi-threaded and can handle multiple xml-rpc 14 requests in parallel. 15 """ 16 pass