Object paths naming conventions?
Thiago Macieira
thiago at kde.org
Fri Jul 18 09:25:48 PDT 2008
Marcel Holtmann wrote:
>> I disagree strongly, I think the object model that DBus presents is
>> that of registering _objects_, not interfaces. I think we have had
>> discussions before that you should not expect the introspection data
>> on an object to change without warning, to allow caching.
>
>I consider this wishful thinking. Knowing everything up front is not
>happening. Also object paths are registered are runtime and also
>unregistered. They appear and disappear without warning, too.
That may be allowed to happen. I know QtDBus does allow for that, but
apparently Java doesn't.
But it's still the same object. The object can choose to add or remove
interfaces to itself. But you can't add them from outside it. So, in
QtDBus, you need to know the QObject that is registered at a given path
and then add new interfaces (QDBusAbstractAdaptor-derived classes) to it.
--
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/20080718/5b899b23/attachment.pgp
More information about the dbus
mailing list