PropertiesChanged signal, take 2
David Zeuthen
zeuthen at gmail.com
Wed May 12 12:43:30 PDT 2010
Hey,
On Wed, May 12, 2010 at 3:00 PM, Luiz Augusto von Dentz
<luiz.dentz at gmail.com> wrote:
> Hi David,
>
> Have you considerer PropertyChanged (only one property)? Afaik match
> rules only support string matching so we will probably be unable to
> register signal handlers in a per property basis, which IMO is a much
> better design than PropertiesChanged which sends many, also at least
> in BlueZ/ofono/connman Ive hardly see us updating a bunch of
> properties at once and if that is required it is probably because they
> should all be grouped together in a single property.
Yes, I considered this but I don't think it's a good idea because it
makes it makes it impossible to do atomic changesets (e.g. two or more
properties changing at the same time).
Thanks,
David
More information about the dbus
mailing list