about the D-Bus C API.

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Nov 13 10:26:37 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 13 Nov 2007 at 11:56:03 -0500, Avery Pennarun wrote:
> See the thread earlier about someone who wanted to send async
> notifications about the progress of a long-running dbus method call.
> You wouldn't broadcast that, you'd send it directly as a unicast
> signal.

Be aware that not all bindings support unicast signals properly (or at
all). I suspect they're more likely to work in bindings that have a
generic "listen for signals matching this rule" function rather than
having to do *everything* through proxy objects.

I'm pretty sure dbus-python supports receiving unicast signals, although
you may have to use the low-level API in dbus.lowlevel to send them. If I
remember correctly, dbus-glib does not.

    Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net

iD8DBQFHOexdWSc8zVUw7HYRAp4nAKCRdn+sNlKs6EYNn1e4hz0MQsdYUACgjK9r
ANl6FAXGVrSERMOcqdyks7o=
=iaea
-----END PGP SIGNATURE-----


More information about the dbus mailing list