[Telepathy-commits] [telepathy-spec/master] Revert "ChannelDispatcher: remove DispatchOperations property and its change-notification"

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Sep 26 08:22:13 PDT 2008


This reverts commit 379b2698d46cfa4b6367f3131bbc7a2805a3b1c9.
---
 spec/Channel_Dispatcher.xml |   38 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/spec/Channel_Dispatcher.xml b/spec/Channel_Dispatcher.xml
index ddabf5c..844ad92 100644
--- a/spec/Channel_Dispatcher.xml
+++ b/spec/Channel_Dispatcher.xml
@@ -189,6 +189,44 @@
 
     </method>
 
+    <!-- FIXME: are this property and its associated change-notification
+    signals actually needed? -->
+    <property name="DispatchOperations" type="ao" access="read">
+      <tp:docstring>
+        The list of ChannelDispatchOperation objects currently being
+        processed. Change notification is via the NewDispatch and
+        DispatchFinished signals.
+      </tp:docstring>
+    </property>
+
+    <signal name="NewDispatchOperation">
+      <arg name="Dispatch_Operation" type="o">
+      </arg>
+
+      <!-- FIXME: copy the Channel_Announcement_Flags from
+      Connection.Interface.Requests? -->
+
+      <arg name="Channels" type="a(oa{sv})" tp:type="Channel_Details[]">
+      </arg>
+    </signal>
+
+    <signal name="DispatchOperationClosed">
+      <tp:docstring>
+        Emitted when a dispatch operation finishes (i.e. exactly once per
+        emission of ChannelDispatchOperation.Close).
+
+        <tp:rationale>
+          Strictly speaking this is redundant with
+          ChannelDispatchOperation.Closed, but it provides full
+          change-notification for the DispatchOperations property.
+        </tp:rationale>
+      </tp:docstring>
+
+      <arg name="Dispatch_Operation" type="o">
+        The dispatch operation that was closed.
+      </arg>
+    </signal>
+
   </interface>
 </node>
 <!-- vim:set sw=2 sts=2 et ft=xml: -->
-- 
1.5.6.5




More information about the Telepathy-commits mailing list