On Thu, Feb 16, 2012 at 6:15 PM, Patrick Ohly <patrick.ohly(a)intel.com> wrote:
On Thu, 2012-02-16 at 16:47 +0100, Chris Kühl wrote:
> On Thu, Feb 16, 2012 at 4:19 PM, Patrick Ohly <patrick.ohly(a)intel.com> wrote:
> > The flow of messages then becomes:
> > 1. syncevo-dbus-server receives method call, stores Result pointer
> > 2. syncevo-dbus-server sends method call to helper
> > 3. helper receives method call, replies (asynchronously or
> > synchronously)
> > 4. syncevo-dbus-server receives reply
> > 5. syncevo-dbus-server relays reply to original caller
> >
> > I'll see whether I can cook up a patch.
> >
>
> No need. I'm now looking at how you use it in LocalTransportAgent.cpp.
> That should be enough to get started implementing this.
I've already finished an initial draft of the idea. Here's the commit
(applies on top of the code which uses the blocking call operator). Does
this look right?
Btw, Krzesimir is working on getting these changes integrated.
Cheers,
Chris