How to discover introspection toplevel objects

Kevin Krammer kevin.krammer at gmx.at
Tue Jan 24 14:12:57 PST 2006


On Tuesday 24 January 2006 23:05, John (J5) Palmieri wrote:
> On Tue, 2006-01-24 at 22:23 +0100, Kevin Krammer wrote:
> > Hi,
> >
> > once an application knows an introspectable object is can look into the
> > introspection data to find children.
> >
> > However I didn't find any documentation, or maybe I missed the relevant
> > parts, on how to discover those "toplevel" objects.
> >
> > So, how should an application proceed if it wants to introspect an
> > unknown peer application?
>
> Read the specification
> (http://dbus.freedesktop.org/doc/dbus-specification.html). There is a
> method on the bus called org.freedesktop.DBus.ListNames.

I am afraid this is a misunderstanding :)

ListNames returns a list of applications or connections on the bus, right?

I'll use an example:
ListNames includes "org.freedesktop.DBus" for the bus itself, correct?

Assuming that "/org/freedesktop/DBus" is introspectable (haven't checked) how 
would an application know about "/org/freedesktop/DBus"?

Is this a default object that always exists in any connected application?

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060124/bc84e274/attachment-0001.pgp


More information about the dbus mailing list