How to chek the presence of an object on dbus
Thiago Macieira
thiago at kde.org
Sun Sep 12 13:42:00 PDT 2010
On Sunday 12. September 2010 22.36.59 Luiz Augusto von Dentz wrote:
> I guess you can use org.freedesktop.DBus.Peer.Ping for this purpose:
>
> "On receipt of the METHOD_CALL message org.freedesktop.DBus.Peer.Ping,
> an application should do nothing other than reply with a METHOD_RETURN
> as usual. It does not matter which object path a ping is sent to. The
> reference implementation handles this method automatically."
No, you can't.
The Ping method doesn't ping the object, it pings the remote application. You
get a reply for any path, regardless of whether the target object exists or
not.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
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: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100912/a5e7fc83/attachment.pgp>
More information about the dbus
mailing list