mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 08:28:53 +02:00
GDBusServer: Documentation: Improvements.
Provide a fuller description and lead people away if they arrived here just looking for a way to provide a regular D-Bus service. https://bugzilla.gnome.org/show_bug.cgi?id=646425
This commit is contained in:
committed by
Matthias Clasen
parent
71c7e49058
commit
6dcf505346
@@ -63,7 +63,13 @@
|
|||||||
* @include: gio/gio.h
|
* @include: gio/gio.h
|
||||||
*
|
*
|
||||||
* #GDBusServer is a helper for listening to and accepting D-Bus
|
* #GDBusServer is a helper for listening to and accepting D-Bus
|
||||||
* connections.
|
* connections. This can be used to create a new D-Bus server, allowing two
|
||||||
|
* peers to use the D-Bus protocol for their own specialized communication.
|
||||||
|
* A server instance provided in this way will not perform message routing or
|
||||||
|
* implement the org.freedesktop.DBus interface.
|
||||||
|
*
|
||||||
|
* To just export an object on a well-known name on a message bus, such as the
|
||||||
|
* session or system bus, you should instead use g_bus_own_name().
|
||||||
*
|
*
|
||||||
* <example id="gdbus-peer-to-peer"><title>D-Bus peer-to-peer example</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gio/tests/gdbus-example-peer.c"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting></example>
|
* <example id="gdbus-peer-to-peer"><title>D-Bus peer-to-peer example</title><programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../gio/tests/gdbus-example-peer.c"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting></example>
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user