SimpleXMLRPCServer

whitekid whitekid at netian.com
Fri Jan 16 04:28:34 EST 2004


SimpleXMLRPCServer.py is Just Simple!

A few days age. I considered XMLRPC framework for our service.
But finally I choose WebWare. 

Read paper below: http://webware.sourceforge.net/Papers/IntroToWebware.html
> -----Original Message-----
> From: python-list-bounces+whitekid=netian.com at python.org 
> [mailto:python-list-bounces+whitekid=netian.com at python.org] 
> On Behalf Of Maxim Khesin
> Sent: Friday, January 16, 2004 6:01 PM
> To: python-list at python.org
> Subject: SimpleXMLRPCServer
> 
> Hi,
> the typical usage of SimpleXMLRPCServer registers some
> class with the server instance and then jumps into a
> serve-forever loop, e.g.
> 
> server = SimpleXMLRPCServer(('', 8000))
> server.register_instance(MyClass())
> server.serve_forever()
> 
> is there a way to process actions other than XML-RPC
> requests using SimpleXMLRPCServer? Is is possible to do
> something like
> 
> server = SimpleXMLRPCServer(('', 8000))
> server.register_instance(MyClass())
> while(1)
>  if(checkSomeCondidion()):
>   server.serve_once()
>  else: server.stop()
> 
> thanks,
> max
> 
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 
> 





More information about the Python-list mailing list