call for advice (is dbus ok for me ?)

sfora dim sfora.dim at gmail.com
Mon Sep 15 22:09:35 PDT 2008


On Tue, Sep 16, 2008 at 8:04 AM, Avery Pennarun <apenwarr at gmail.com> wrote:
> 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. :)

I feel like signals do not fit here because dbus signals are not
specifically addressed at the client itself - they are just emitted
for everyone to hear.

>> 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.

Isn't there a problem that the signal don't have a destination ?
elegance-wise ?
performance-wise ?

Thank you!
Sfora
>
> Have fun,
>
> Avery
>


More information about the dbus mailing list