Home | History | Annotate | Download | only in rpm_control_system
      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 
      5 import SimpleXMLRPCServer
      6 from SocketServer import ThreadingMixIn
      7 
      8 
      9 class 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