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

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <1713123.ik1vdjCBXv@tjmaciei-mobl1>
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



_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.