Emitting signals
Havoc Pennington
hp at redhat.com
Fri Jul 29 02:16:42 EST 2005
On Thu, 2005-07-28 at 16:44 +0100, Ross Burton wrote:
> On Wed, 2005-07-27 at 09:53 -0400, Havoc Pennington wrote:
> > I think it may be possible to dbus_message_set_destination() on a
> > signal, also; I don't remember. Try it and see...
>
> Well, this works. Considering the Message Bus Specification says this:
>
> Signals normally do not specify a destination; they are sent to
> all applications with message matching rules that match the
> message.
>
> Should that paragraph be changed to cover the case of signals which do
> have a destination specified, or is this a bug in the bus?
>
> Personally I'd like the former, I've two major applications which would
> be far nicer to code with directed signals.
>
I think I probably allowed destinations on signals on purpose. The spec
could maybe be clearer on that.
Havoc
More information about the dbus
mailing list