Re: Why DESTINATION?

Lennart Poettering <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <20190218123143.GA28504@gardel-login>
On Mo, 18.02.19 07:29, Felipe Gasper ([email protected]) wrote:

> Given that the DESTINATION header that a client receives appears
> always to be its unique bus name, which the client already has, why
> send this header in the first place? Does this header, as a client
> receives it, ever carry useful information?

The sender has to fill it in, so that the broker (i.e. dbus-daemon)
knows which client to propagate it to.

So, it's relevant when a client sends a message, but it's indeed not
too interesting when a client recvs a message.

Lennart

--
Lennart Poettering, Red Hat
_______________________________________________
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.