This commit is contained in:
Anders Carlsson 2003-01-19 18:27:44 +00:00
parent 8a587f6415
commit 037192972a

15
doc/negotiation.txt Normal file
View file

@ -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.