]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
dbus-specification: Add signal 'ActivatableServicesChanged' and related bus feature
authorRalf Habacker <ralf.habacker@freenet.de>
Tue, 15 Feb 2022 15:19:59 +0000 (16:19 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Wed, 16 Feb 2022 13:00:13 +0000 (14:00 +0100)
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
doc/dbus-specification.xml

index fecb43802a2e9e6cb37a3f42bcc654cbe1fe5715..257fa3007bf56bea6802ccaaa439b93e1d36aea4 100644 (file)
         </para>
       </sect3>
 
+      <sect3 id="bus-messages-activatable-services-changed">
+        <title><literal>org.freedesktop.DBus.ActivatableServicesChanged</literal></title>
+        <para>
+          This is a signal:
+          <programlisting>
+            ActivatableServicesChanged ()
+          </programlisting>
+        </para>
+        <para>
+          This signal is sent when the list of activatable services,
+          as returned by ListActivatableNames(), might have changed
+          (see <xref linkend="bus-messages-list-activatable-names"/>).
+          Clients that have cached information about the activatable
+          services should call ListActivatableNames() again to update
+          their cache.
+        </para>
+        <para>
+          The presence of this signal is indicated by a
+          bus feature property (for details see
+          <xref linkend="message-bus-properties-features"/>).
+          In older implementations that do not have this feature,
+          there is no way to be informed when the list of activatable
+          names has changed.
+        </para>
+      </sect3>
+
       <sect3 id="bus-messages-start-service-by-name">
         <title><literal>org.freedesktop.DBus.StartServiceByName</literal></title>
         <para>
           The features currently defined in this specification are as follows:
           <variablelist>
 
+            <varlistentry>
+              <term><literal>ActivatableServicesChanged</literal></term>
+              <listitem>
+                <para>
+                  This message bus emits the <literal>ActivatableServicesChanged</literal>
+                  signal whenever its list of activatable services might have changed
+                  (for details see <xref linkend="bus-messages-activatable-services-changed"/>).
+                </para>
+              </listitem>
+            </varlistentry>
+
             <varlistentry>
               <term><literal>AppArmor</literal></term>
               <listitem>