16 lines
564 B
Python
16 lines
564 B
Python
|
|
# 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
|