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