What would be a valid D-Bus interface name for a project without domain?

Thiago Macieira thiago at kde.org
Wed Jan 24 14:50:42 UTC 2018


On Wednesday, 24 January 2018 03:19:05 PST Simon McVittie wrote:
> If you really want a namespace with no uniqueness guarantees, .invalid
> is permanently reserved by RFC 2606 and .local by RFC 6762, so you could
> use invalid.yourname.YourProject or local.yourname.YourProject. (See also
> the Special-Use Domain Names registry established by RFC 6761,
> <https://www.iana.org/assignments/special-use-domain-names/special-use-domai
> n-names.xhtml#special-use-domain>.)

local has special meaning in D-Bus too (at least in QtDBus) in that 
interfaces starting with "local." are not cached and are allowed to differ 
between two implementations. That is, local.foo find in service A can have 
different methods from local.foo found in service B. But invalid.foo would 
not.

This of course means an increased memory use and parsing time.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center





More information about the dbus mailing list