|
From: Andreas V. <li...@br...> - 2008-09-08 21:45:24
|
Hello,
I noticed that if I call a message with dbus-c++ that the caller
blocks.
My application logic has everywhere a Caller and a listener:
<method name="getWindowList">
<arg type="i" name="start" direction="in"/>
<arg type="i" name="end" direction="in"/>
</method>
<signal name="getWindowListResult">
<arg type="as" name="titleList" direction="out"/>
<arg type="i" name="start" direction="out"/>
<arg type="i" name="end" direction="out"/>
<arg type="i" name="size" direction="out"/>
</signal>
So my idea was to handle a asynchronous communication. The client calls
a getWindowList and after calculation that list the system should
answer with a getWindowListResult. But my idea failed because the
client blocks the method call.
How could I realize a async communication like I would expect with
dbus-c++?
I could for sure put something on top of dbus-c++, but better would be
to place that into the library.
Thanks for your answer.
regards
Andreas
|