search for: qmfpythonconsoletutori

Displaying 1 result from an estimated 1 matches for "qmfpythonconsoletutori".

2011 Apr 14
0
asynchronous calls to qmf methods
...blocks the loop for quite long (sometimes 0.7 seconds) and qmf aparently has a way to do it asynchronously but I have no idea how to do this with the qmf module for ruby. I found some instructions for python though : http://qpid.apache.org/books/0.8/AMQP-Messaging-Broker-CPP-Book/html/ch02s03.html#QMFPythonConsoleTutorial-AsynchronousMethodCallsandMethodTimeouts I tried result=domain.create(:async=>true) but it did not work, it's still blocking until libvirt answers... So how to call methods asynchronously ? More importantly, where do I get the callbacks from ? Thanks in advance -------------- next part -...