Package rrlog :: Package server :: Module xmlrpc
[hide private]
[frames] | no frames]

Module xmlrpc

source code


Author: Ruben Reifenberg

Classes [hide private]
  LogAdapter
Functions [hide private]
 
createSimpleXMLRPCServer(host, ports)
Creates server that does no multithreading.
source code
 
startServer(logServer, ports, host='localhost', readyMsg=True)
Run the given logServer as an xmlrpc server (forever).
source code
Function Details [hide private]

createSimpleXMLRPCServer(host, ports)

source code 

Creates server that does no multithreading. Remark: The SimpleXMLRPCServer seems to do no multithreading, except we use MixIn class. Indeed, I found that a second client is blocked as long as the server is processing another request. (Python 2.4)

Parameters:
  • ports - list or iterator of port numbers Multiple ports address the problem that a socket is for some time "already in use" when restarting the server. The first free port of the ports is used.

startServer(logServer, ports, host='localhost', readyMsg=True)

source code 

Run the given logServer as an xmlrpc server (forever).

Parameters: