Hello all,
Based on popular demand I added the ability for the server to "postpone" a
response to a client if you are worrying about deadlock for a particular
request. The idea is the following:
You save away the client (src paramter), and raise a xmlrpc.postpone
exception in the server handler. Then, whenever you are ready, you
call either one of the following:
server.queueResponse(client, result)
server.queueFault(client, faultCode, faultString)
There is an example in examples.py.
All of this is checked in to the cvs archives. You can get at it by following
the instructions at this page:
http://sourceforge.net/cvs/?group_id=23992
This will be available in py-xmlrpc-0.8.9, whenever that is available.
Any comments or suggestions?
Shilad
|