From 037192972af12511ca1476b9604d1603f382d8f9 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Sun, 19 Jan 2003 18:27:44 +0000 Subject: Add this --- doc/negotiation.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/negotiation.txt 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. + -- cgit