PropertiesChanged signal, take 2

David Zeuthen zeuthen at gmail.com
Tue May 11 11:07:27 PDT 2010


Hey again,

Here's take two of the PropertiesChanged spec patch reworked after
review here on the list (thanks guys!). Notes:

 - The PropertiesChanged() signal is optional. An application can convey
   support for this signal by either including or excluding it from the returned
   introspection data (much like apps not supporting (or predating) the
   GetAll() method does not include GetAll() in the introspection data.)

 - An object can use PropertiesChanged() but opt out of using it for one
   or more properties by setting either of

      org.freedesktop.DBus.Properties.ChangedSignal
      org.freedesktop.DBus.Properties.ChangedSignalWithFalse

   to false.

The intent of the patch is simply to standardize existing behavior,
not completely replace or rework the org.freedesktop.DBus.Properties
interface or add or depend on various optimizations that are not
specific to this patch.

Thanks,
David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-an-optional-PropertiesChanged-signal.patch
Type: application/octet-stream
Size: 2908 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100511/817c7552/attachment.obj>


More information about the dbus mailing list