Introspection
Colin Walters
walters at verbum.org
Mon Jul 18 05:25:51 EST 2005
On Mon, 2005-07-18 at 03:16 +0800, Grahame Bowland wrote:
> So I want to write a simple gui/console program that will show available
> names, and then the a representation of the interfaces / methods available on
> each of the names.
> If someone has already done this, please tell me so I'm
> not pointlessly duplicating effort!
See tools/dbus-viewer.
> Once I have called ListNames() on /org/freedesktop/DBus I'm trying to call
> Introspect() from org.freedesktop.DBus.Introspectable on each of the names.
> This seems to work OK for org.freedesktop.DBus, com.redhat.dhcp,
> org.freedesktop.NetworkManager and many other things. Yet for
> org.freedesktop.Hal my call times out:
> dbus_bindings.DBusException: No reply within specified time
I don't think HAL implements introspection. Or maybe it tries to but
you're crashing it =)
Introspection support is something apps written with the GLib bindings
get for free, hopefully HAL will use them soon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050717/d5f7368d/attachment.pgp
More information about the dbus
mailing list