On Fri, Jul 10, 2009 at 5:18 AM, Jiri Moskovcak<jmosk...@redhat.com> wrote: > > 3. when the work is finished send reply to the client > - this is the part where I'm stuck, because I want to send the reply as > return message to the matching method call, but the method call already > returned when I started the thread. (So far I can achieve this by sending > signal with return value as an argument, but I don't think this is a good > solution).
Your options are: 1) Method returns "work item id", send a signal WorkDone with the id 2) Agent pattern, the server makes calls back to the client using its unique name. 3) Infinite timeouts on method calls is in dbus git master -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list