dbus Activation

Thiago Macieira thiago at kde.org
Thu Jan 11 03:55:09 PST 2007

Frédéric DALLEAU wrote:
>Thank you for answering.  Is there any standard dbus interface defined
>that could be implemented to make sure the object is ready before
>calling another method?

You can use the NameHasOwner call on the dbus-daemon 
(org.freedesktop.DBus). But why not simply make the call, even if the 
name isn't present? If the call fails, it's not present.

>Also, is there a way that a daemon could automatically exit when it's
>methods are not used?

You have to code that.

  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/20070111/2706c242/attachment.pgp

More information about the dbus mailing list