From: Ralf Habacker Date: Tue, 7 Dec 2010 01:23:39 +0000 (+0100) Subject: Add documentation for autolaunch meta transport on Windows. X-Git-Tag: dbus-1.4.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf532d655670ed2cf9bd7b51c7ab9d7071a4ad43;p=thirdparty%2Fdbus.git Add documentation for autolaunch meta transport on Windows. Reviewed-by: Romain Pokrzywka --- diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 56ba7fa13..ccc60bab6 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -2700,10 +2700,95 @@ + + + Meta Transports + + Meta transports are a kind of transport with special enhancements or + behavior. Currently available meta transports include: autolaunch + - + + Autolaunch + The autolaunch transport provides a way for dbus clients to autodetect + a running dbus session bus and to autolaunch a session bus if not present. + + + Server Address Format + + Autolaunch addresses uses the "autolaunch:" prefix and support the + following key/value pairs: + + + + + + Name + Values + Description + + + + + scope + (string) + scope of autolaunch (Windows only) + + + + "*install-path" - limit session bus to dbus installation path. + The dbus installation path is determined from the location of + the shared dbus library. If the library is located in a 'bin' + subdirectory the installation root is the directory above, + otherwise the directory where the library lives is taken as + installation root. + + <install-root>/bin/[lib]dbus-1.dll + <install-root>/[lib]dbus-1.dll + + + + + "*user" - limit session bus to the recent user. + + + + + other values - specify dedicated session bus like "release", + "debug" or other + + + + + + + + + - + + Windows implementation + + On start, the server opens a platform specific transport, creates a mutex + and a shared memory section containing the related session bus address. + This mutex will be inspected by the dbus client library to detect a + running dbus session bus. The access to the mutex and the shared memory + section are protected by global locks. + + + In the recent implementation the autolaunch transport uses a tcp transport + on localhost with a port choosen from the operating system. This detail may + change in the future. + + + Disclaimer: The recent implementation is in an early state and may not + work in all cirumstances and/or may have security issues. Because of this + the implementation is not documentated yet. + + + + + Naming Conventions