Re: Why DESTINATION?

Felipe Gasper <felipe-c4PQK5fb7feI/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>

> On Feb 20, 2019, at 11:37 PM, Thiago Macieira <[email protected]> wrote:
> 
> On Monday, 18 February 2019 04:31:43 PST Lennart Poettering wrote:
>> So, it's relevant when a client sends a message, but it's indeed not
>> too interesting when a client recvs a message.
> 
> A client could (but should not) do some kind of "name virtual host" by 
> reacting differently depending on the called service name.

Actually, I don’t think that’s possible because of the behaviour being described: dbus-daemon doesn’t pass the called service name to the recipient; the DESTINATION that dbus-daemon sends is just the recipient’s unique name. The recipient has no way to know what name the sender gave as DESTINATION.

-F
_______________________________________________
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.