guidance for org.freedesktop.DBus interfaces

Nyirő Gergő gergo at nyiro.name
Thu Jan 7 08:31:33 UTC 2021


On Thu, Jan 7, 2021 at 2:05 AM Robert Middleton
<robert.middleton at rm5248.com> wrote:
>
> > Is it allowed to extend the existing "org.freedesktop.DBus.Properties" interface
> > for my object or should I introduce the "SetMany" method in my custom interface?
>
> I'm not a DBus developer, but it seems to me that having a "SetMany"
> in your custom interface would be the appropriate way to handle this,
> as bindings/implementations may assume that the
> org.freedesktop.DBus.Properties interface contains only the methods
> specified in the spec, and thus would be unable to use your custom
> method if provided as part of that interface.

Yes, it is a strange idea to extend a standard interface by my custom service.
Thanks for the help in my loud thinking.

--
Gergo


More information about the dbus mailing list