call for advice (is dbus ok for me ?)
sfora dim
sfora.dim at gmail.com
Sat Sep 13 15:08:59 PDT 2008
Hi Avery,
On Thu, Aug 21, 2008 at 8:10 PM, Avery Pennarun <apenwarr at gmail.com> wrote:
> On Thu, Aug 21, 2008 at 12:54 PM, sfora dim <sfora.dim at gmail.com> wrote:
>> I need the clients to be able to call the daemon's exported functions,
>> to be able to pass it all sorts of data arguments, and most
>> importantly, I need them to be able to register a callback at the
>> daemon. Once the daemon finishes the task, it should call the given
>> callback.
>
> dbus is designed for exactly such situations.
I was thinking how to implement this. Maybe the clients should pass
the callback's dbus method name, which will be used, in turn, by the
server with a method-call message. Do you think that would work ?
Thank you for the help,
Sfora.
More information about the dbus
mailing list