hal_initialize() overrides other filter/object/fallback
functions on separate connection
Havoc Pennington
hp at redhat.com
Sat Aug 7 20:19:42 PDT 2004
On Sat, 2004-08-07 at 21:09, David Zeuthen wrote:
> Specifically, the BarService emits signals on certain objects. libbar
> may choose, at the discretion of the user of a libbar instance, to
> listen for all signals on all objects, but if there is only one
> DBusConnection only one of the libbar instances gets the signal. Which
> is a problem. Having libbar use dbus_bus_get_dedicated() solves this
> problem.
>
If all the signal handlers return NOT_YET_HANDLED, does it solve the
problem?
Maybe the root issue is that for a method call, you want only one
handler, but for a signal, you probably want all the handlers to run.
That might be the better place to fix the problem... hmm.
Havoc
More information about the dbus
mailing list