summaryrefslogtreecommitdiffstats
path: root/doc/dbus-specification.xml
diff options
context:
space:
mode:
authorRichard Hult <richard@imendio.com>2004-03-16 18:00:35 +0000
committerRichard Hult <richard@imendio.com>2004-03-16 18:00:35 +0000
commit93f433a17a0aabff91a0384bf9c4f99c9cf30ae1 (patch)
treebe2ffbc0160abfb63808d994d076faa67e4ff81a /doc/dbus-specification.xml
parent24ffe79c80d376b058c2d154b2b5f0ef8fee1c36 (diff)
2004-03-16 Richard Hult <richard@imendio.com>
* bus/activation.c: (bus_activation_service_created), (bus_activation_send_pending_auto_activation_messages), (bus_activation_activate_service): * bus/activation.h: * bus/dispatch.c: (bus_dispatch), (check_nonexistent_service_auto_activation), (check_service_auto_activated), (check_segfault_service_auto_activation), (check_existent_service_auto_activation), (bus_dispatch_test): * bus/driver.c: (bus_driver_handle_activate_service): * bus/services.c: (bus_registry_acquire_service): * dbus/dbus-message.c: (dbus_message_set_auto_activation), (dbus_message_get_auto_activation): * dbus/dbus-message.h: * dbus/dbus-protocol.h: Implement auto-activation.
Diffstat (limited to 'doc/dbus-specification.xml')
-rw-r--r--doc/dbus-specification.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml
index 5f62cfdd..94dc740c 100644
--- a/doc/dbus-specification.xml
+++ b/doc/dbus-specification.xml
@@ -249,6 +249,12 @@
optimization. However, it is compliant with this specification
to return the reply despite this flag.</entry>
</row>
+ <row>
+ <entry>AUTO_ACTIVATION</entry>
+ <entry>0x2</entry>
+ <entry>This message automatically activates the
+ addressed service before the message is delivered.</entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
@@ -674,6 +680,13 @@
However, it is also acceptable to ignore the NO_REPLY_EXPECTED
flag and reply anyway.
</para>
+ <para>
+ If a message has the flag AUTO_ACTIVATION, then the addressed
+ service will be activated before the message is delivered, if
+ not already active. The message will be held until the service
+ is successfully activated or has failed to activate; in case
+ of failure, an activation error will be returned.
+ </para>
<sect4 id="message-protocol-types-method-apis">
<title>Mapping method calls to native APIs</title>
<para>