[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: Object paths naming conventions?
From: Matthew Johnson <dbus () matthew ! ath ! cx>
Date: 2008-07-19 22:59:43
Message-ID: 20080719225942.GS10003 () matthew ! ath ! cx
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Sat Jul 19 13:11, Simon McVittie wrote:
> On Sat, 19 Jul 2008 at 13:52:03 +0200, Marcel Holtmann wrote:
> > Instances are not D-Bus object paths. What the client sees as instance
> > is different. For a client the unique instance is the object path plus
> > the interface name.
>
> That's not the D-Bus object model, that's *your* object model.
ACK
> If I was to rewrite dbus-glib and dbus-python without caring about
> backwards compatibility, they would both behave like dbus-python in this
> respect. I suspect that dbus-java and ndesk-dbus follow dbus-python's
> model too (Matthew? Alp? Do they?).
>
Yes. As a client you can get "this object with this interface", which
avoids introspection, or "git this object, which implements all it's
interfaces", but as a service you export 1 object reference at one
object path. It it implements many interfaces, you get them all
exported, but you can't export another object there.
Matt
--
www.matthew.ath.cx
D-Bus Java
["signature.asc" (application/pgp-signature)]
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic