Object paths naming conventions?

Matthew Johnson dbus at matthew.ath.cx
Fri Jul 18 08:47:49 PDT 2008


On Fri Jul 18 17:44, Marcel Holtmann wrote:
> Hi Matt,

> > DBus is an object model. This very strongly applies that each object
> > path corresponds to a single implementation object. This object may have
> > multiple interfaces, possibly with different implementations of the same
> > method name under different interfaces, but one object nonetheless.
> 
> and what is the different between one object implement multiple
> interfaces and two interfaces sharing the same object path?

It depends who is responsible for the code.

> > If you are expecting to have a single application implement one object
> > which implements both specs then yes (although this may be awkward in
> > some languages, eg java, where the method signature is assumed to be unique,
> > even over multiple interfaces), however, if you are expecting to have
> > separate libraries with separate objects both in the same process and
> > registering the same path, then I contend that this should not work.
> 
> That is a pure technical issue that some bindings are broken.
> 
Disagree

Matt

--
www.matthew.ath.cx
D-Bus Java
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080718/fe0db733/attachment.pgp 


More information about the dbus mailing list