[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: about the D-Bus C API.
From: Simon McVittie <simon.mcvittie () collabora ! co ! uk>
Date: 2007-11-13 18:26:37
Message-ID: 20071113182637.GA5957 () carbon ! pseudorandom ! co ! uk
[Download RAW message or body]
-----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-----
_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic