[pygtk] Asynchronous XML-RPC
Jarek Zgoda
jzgoda at o2.pl
Fri May 19 02:35:11 WST 2006
A.M. Kuchling napisał(a):
> I need an asynchronous implementation of XML-RPC for a front-end GUI
> where some of the back-end's operations are slow. Here's what I came
> up with: a specialized xmlrpclib.Transport that returns an instance of
> an object called XMLRPCDeferred, and registers
>
> The example below is a modified version of the helloworld2.py demo
> from the tutorial. You'll need to find an XML-RPC server and method
> that takes an appreciable time to run; the back-end I'm working with
> isn't publicly available.
>
> Anyone have suggestions on the code?
Fine code, really. When I needed something similar, I ended up with
broken async xmlrpc client written from scratch using asyncore/asynchat...
--
Jarek Zgoda
http://jpa.berlios.de/
More information about the pygtk
mailing list