Object path values - which service do they belong to?

John (J5) Palmieri johnp at redhat.com
Mon May 16 14:31:45 PDT 2005


On Mon, 2005-05-16 at 17:14 -0400, Colin Walters wrote:
> On Mon, 2005-05-16 at 17:07 -0400, Daniel B. Faken wrote:
> > Hello,
> > 
> >   I see that I can pass/specify an object path as a method-parameter type, 
> > but how do I know what Service the given object is supposed to belong to?
> 
> As I understand it, the intention is that object paths are service
> local.  If you get an object path back from a service, it refers to an
> object on that service.  If you're passing inter-service object paths,
> I'd suggest just using DBUS_TYPE_STRING.

Yes, I believe this is more for bindings also.  If they get these
strings over the wire the implication is that they will marshal them
into actual objects.  The special type is just there as a flag to
indicate that the client should create a proxy object from the class
path string.

--
J5



More information about the dbus mailing list