Package rosgraph :: Module xmlrpc :: Class ForkingXMLRPCServer
[frames] | no frames]

Class ForkingXMLRPCServer

source code

                    SocketServer.ForkingMixIn --+
                                                |
              SocketServer.BaseServer --+       |
                                        |       |
                   SocketServer.TCPServer --+   |
                                            |   |
SimpleXMLRPCServer.SimpleXMLRPCDispatcher --+   |
                                            |   |
        SimpleXMLRPCServer.SimpleXMLRPCServer --+
                                                |
                                               ForkingXMLRPCServer

Adds ThreadingMixin to SimpleXMLRPCServer to support multiple concurrent requests via forking. Also makes logging toggleable.

Instance Methods
 
__init__(self, addr, request_handler=<class rosgraph.xmlrpc.SilenceableXMLRPCRequestHandler at 0x7f..., log_requests=1)
Constructor.
source code

Inherited from SocketServer.ForkingMixIn: collect_children, handle_timeout, process_request

Inherited from SocketServer.TCPServer: close_request, fileno, get_request, server_activate, server_bind, server_close, shutdown_request

Inherited from SocketServer.BaseServer: finish_request, handle_error, handle_request, serve_forever, shutdown, verify_request

Inherited from SimpleXMLRPCServer.SimpleXMLRPCDispatcher: register_function, register_instance, register_introspection_functions, register_multicall_functions, system_listMethods, system_methodHelp, system_methodSignature, system_multicall

Class Variables

Inherited from SocketServer.ForkingMixIn: active_children, max_children, timeout

Inherited from SimpleXMLRPCServer.SimpleXMLRPCServer: allow_reuse_address

Inherited from SocketServer.TCPServer: address_family, request_queue_size, socket_type

Method Details

__init__(self, addr, request_handler=<class rosgraph.xmlrpc.SilenceableXMLRPCRequestHandler at 0x7f..., log_requests=1)
(Constructor)

source code 

Constructor. May be extended, do not override.

Overrides: SimpleXMLRPCServer.SimpleXMLRPCDispatcher.__init__