[telepathy-spec/master] fd.o #21179: mandate that the CD prioritizes running handlers
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Apr 14 09:29:42 PDT 2009
As per fd.o #21178 and spec cabal review.
---
spec/Channel_Dispatch_Operation.xml | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/spec/Channel_Dispatch_Operation.xml b/spec/Channel_Dispatch_Operation.xml
index c3ba06a..41fd24d 100644
--- a/spec/Channel_Dispatch_Operation.xml
+++ b/spec/Channel_Dispatch_Operation.xml
@@ -196,13 +196,22 @@
<property name="PossibleHandlers" tp:name-for-bindings="Possible_Handlers"
type="as" access="read" tp:type="DBus_Well_Known_Name[]">
<tp:docstring>
- The well known bus names (starting with
- <code>org.freedesktop.Telepathy.Client.</code>) of the possible
- <tp:dbus-ref
- namespace="org.freedesktop.Telepathy.Client">Handler.DRAFT</tp:dbus-ref>s
- for these channels. The channel dispatcher MUST place the most
- preferred handlers first, according to some reasonable heuristic.
- As a result, approvers SHOULD use the first handler by default.
+ <p>The well known bus names (starting with
+ <code>org.freedesktop.Telepathy.Client.</code>) of the possible
+ <tp:dbus-ref
+ namespace="org.freedesktop.Telepathy.Client">Handler.DRAFT</tp:dbus-ref>s
+ for these channels. The channel dispatcher MUST place the most
+ preferred handlers first, according to some reasonable heuristic.
+ As a result, approvers SHOULD use the first handler by default.</p>
+
+ <p>The heuristic used to prioritize handlers SHOULD give a higher
+ priority to handlers that are already running.</p>
+
+ <tp:rationale>
+ <p>If, for instance, Empathy and Kopete have similar functionality,
+ and Empathy is running, we should prefer to send channels to it
+ rather than launching Kopete via service activation.</p>
+ </tp:rationale>
</tp:docstring>
</property>
--
1.5.6.5
More information about the telepathy-commits
mailing list