Getting a list of object paths for a service ?

Waldo Bastian bastian at kde.org
Fri Sep 2 20:22:30 EST 2005


On Thursday 01 September 2005 18:05, Daniel P. Berrange wrote:
> When debugging interactions between services I've found it very helpful
> to be able to dump information about the bus & services running on it.
> It is currently possible to get a list of services attached to a bus
> using org.freedesktop.DBus.ListNames(). At the other end of the scale,
> it is similarly possible to get a list of methods, signals & properties
> exported by an object using the Introspect() method. What I can't seem
> to find is any way to get list of object paths registered by a service.
>
> Is such information even known by the bus, or does it remain within the
> client providing the service ? Looking at the impl of the function
> dbus_connection_register_object_path() it doesn't look like details
> about exported object paths are provided to the bus. Would it be worth
> defining an common interface & object path at which bindings could
> automatically provide this info on behalf of services ?

Yes, I think that would be useful.

Cheers,
Waldo
-------------- 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/20050902/64971eb7/attachment.pgp


More information about the dbus mailing list