signals on the bus

Thiago Macieira thiago at kde.org
Tue Aug 7 10:11:19 PDT 2007


Kevin DeKorte wrote:
>I have a question concerning the lifespan of a message on the bus.
>
>If I have an app that runs and periodically sends a message that is of
>signal type and nothing picks it up. What happens to that message?

If nothing picks it up, nothing picked it up. Therefore, it went the way 
of the blackhole.

Messages don't have lifetimes. Once the bus receives it, it relays it to 
whomever is interested. Then it drops it and moves on.

>Does 
>it just sit around on the bus. Does it just get dropped since nothing is
>registered to process that signal?


-- 
  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: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070807/c8035e67/attachment.pgp 


More information about the dbus mailing list