call for advice (is dbus ok for me ?)
Avery Pennarun
apenwarr at gmail.com
Mon Sep 15 22:04:00 PDT 2008
On Tue, Sep 16, 2008 at 12:51 AM, sfora dim <sfora.dim at gmail.com> wrote:
> I don't know why, I just don't like signals. maybe because of its UNIX
> heritage :)
That's a pretty dumb reason not to use them. Unix signals are good too. :)
> Maybe I should let the client send the service a method name, and then
> the service will just method-call that service name as much as it
> desires. Please tell me if there's a flaw in that design..
You could do this; if your method doesn't send back an answer, then
it's a signal. A dbus signal is essentially just a method that
doesn't reply.
Have fun,
Avery
More information about the dbus
mailing list