Module SimpleXMLRPCServer :: Class SimpleXMLRPCServer
[show private | hide private]
[frames | no frames]

Class SimpleXMLRPCServer

        BaseServer --+    
                     |    
             TCPServer --+
                         |
SimpleXMLRPCDispatcher --+
                         |
                        SimpleXMLRPCServer

Known Subclasses:
Co2Server

Simple XML-RPC server.

Simple XML-RPC server that allows functions and a single instance to be installed to handle requests. The default implementation attempts to dispatch XML-RPC calls to the functions or instance installed in the server. Override the _dispatch method inhereted from SimpleXMLRPCDispatcher to change this behavior.
Method Summary
  __init__(self, addr, requestHandler, logRequests)
  close_request(self, request)
Called to clean up an individual request. (inherited from TCPServer)
  fileno(self)
Return socket file number. (inherited from TCPServer)
  get_request(self)
Get the request and client address from the socket. (inherited from TCPServer)
  register_function(self, function, name)
Registers a function to respond to XML-RPC requests. (inherited from SimpleXMLRPCDispatcher)
  register_instance(self, instance)
Registers an instance to respond to XML-RPC requests. (inherited from SimpleXMLRPCDispatcher)
  register_introspection_functions(self)
Registers the XML-RPC introspection methods in the system namespace. (inherited from SimpleXMLRPCDispatcher)
  register_multicall_functions(self)
Registers the XML-RPC multicall method in the system namespace. (inherited from SimpleXMLRPCDispatcher)
  server_activate(self)
Called by constructor to activate the server. (inherited from TCPServer)
  server_bind(self)
Called by constructor to bind the socket. (inherited from TCPServer)
  server_close(self)
Called to clean-up the server. (inherited from TCPServer)
  system_listMethods(self)
system.listMethods() => ['add', 'subtract', 'multiple'] (inherited from SimpleXMLRPCDispatcher)
  system_methodHelp(self, method_name)
system.methodHelp('add') => "Adds two integers together" (inherited from SimpleXMLRPCDispatcher)
  system_methodSignature(self, method_name)
system.methodSignature('add') => [double, int, int] (inherited from SimpleXMLRPCDispatcher)
  system_multicall(self, call_list)
system.multicall([{'methodName': 'add', 'params': [2, 2]}, ...]) => [[4], ...] (inherited from SimpleXMLRPCDispatcher)

Generated by Epydoc 1.1 on Thu Oct 16 16:37:23 2003 http://epydoc.sf.net