]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
spec: Allow non-message-bus servers to use SENDER and DESTINATION
authorSimon McVittie <smcv@collabora.com>
Mon, 11 Dec 2017 18:40:36 +0000 (18:40 +0000)
committerSimon McVittie <smcv@collabora.com>
Thu, 11 Jan 2018 18:33:31 +0000 (18:33 +0000)
The Telepathy "Tubes" APIs are an example of a server that is not a
message bus, but makes use of the sender and destination fields to
provide broadly unique-connection-name-like semantics.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=100317
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <smcv@collabora.com>
doc/dbus-specification.xml

index 6e42839cbe8c80af82be6feb0ef6d8802257a71c..8e385351905e8e1cc180db674cb81c5a2cba42f3 100644 (file)
                   <entry>6</entry>
                   <entry><literal>STRING</literal></entry>
                   <entry>optional</entry>
-                  <entry>The name of the connection this message is intended for.
-                    Only used in combination with the message bus, see
-                    <xref linkend="message-bus"/>.</entry>
+                  <entry>
+                    The name of the connection this message is intended for.
+                    This field is usually only meaningful in combination with
+                    the message bus (see <xref linkend="message-bus"/>),
+                    but other servers may define their own meanings for it.
+                  </entry>
                 </row>
                 <row>
                   <entry><literal>SENDER</literal></entry>
                   <entry><literal>STRING</literal></entry>
                   <entry>optional</entry>
                   <entry>Unique name of the sending connection.
-                    The message bus fills in this field so it is reliable; the field is
-                    only meaningful in combination with the message bus.</entry>
+                    This field is usually only meaningful in combination with
+                    the message bus, but other servers may define their own
+                    meanings for it.
+                    On a message bus, this header field is controlled by
+                    the message bus, so it is as reliable and trustworthy
+                    as the message bus itself.
+                  </entry>
                 </row>
                 <row>
                   <entry><literal>SIGNATURE</literal></entry>