Asynchronous SimpleXMLRpcServer

Andrew Bennetts andrew-pythonlist at puzzling.org
Wed Dec 3 08:50:44 EST 2003


On Wed, Dec 03, 2003 at 01:30:40PM +0100, Guyon Morée wrote:
> hi all,
> 
> maybe this is a stupid question, but I'll ask it anyway.
> 
> does the SimpleXMLRpcServer handle connection asynchronous?

I don't think it does, as it just uses SocketServer.

> if not, how can I make it asynchronous?

This isn't exactly what you asked, but you can do asynchronous XML-RPC
easily with Twisted.  Here's some example code:

    http://twistedmatrix.com/documents/examples/xmlrpc.py

The docs for the XML-RPC support are here:

    http://twistedmatrix.com/documents/howto/xmlrpc

-Andrew.






More information about the Python-list mailing list