About DBUS signals

Thiago Macieira thiago at kde.org
Mon Oct 16 23:13:03 PDT 2006

Sumit Jain wrote:
>What will actually trigger DBUS to send the signal to the
>What i mean to say is that how from an application can i send signals to
>other application with DBUS working as a mediator for passing signals.(
> as i can see no such calls in this code atleast)

From your application, you just emit the signal. You don't choose where 
you emit it to: you emit it to anyone who's listening to it.

It's actually the job of the receiver to tell the D-Bus daemon that it's 
interested in that particular signal, by way of an AddMatch rule.

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061017/de59853b/attachment.pgp

More information about the dbus mailing list