summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-01-19 18:27:44 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-01-19 18:27:44 +0000
commit037192972af12511ca1476b9604d1603f382d8f9 (patch)
tree2e82c30f46521e1ad030cc09c06c8a41114b2cf4 /doc
parent8a587f6415dd806ad3b77049a5dd47ae24540ae4 (diff)
Add this
Diffstat (limited to 'doc')
-rw-r--r--doc/negotiation.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/negotiation.txt b/doc/negotiation.txt
new file mode 100644
index 00000000..da4ce105
--- /dev/null
+++ b/doc/negotiation.txt
@@ -0,0 +1,15 @@
+Negotiation
+===========
+
+Before any client is allowed to talk to other clients, it must
+register itself with the bus. Currently this is done by sending the
+"org.freedesktop.DBus.Hello" message to the "org.freedesktop.DBus"
+service. This service is provided by the D-Bus daemon and therefore
+always exists.
+
+The first field of the Hello message is a string containing a
+name. The bus driver will then append a dash and a number to make the
+client name unique and send a "Welcome" message back. It could also
+send an "Error" message back, for example if the client tries to
+register twice.
+