[Telepathy-commits] [telepathy-spec/master] Observer: add placeholder ObserverChannelFilter property, explain its significance
Simon McVittie
simon.mcvittie at collabora.co.uk
Fri Sep 26 08:21:27 PDT 2008
20080624150715-53eee-e27cf97576f80429749089c487e7ca32f98e40e7.gz
---
spec/Client_Observer.xml | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/spec/Client_Observer.xml b/spec/Client_Observer.xml
index a44bfb1..d553fda 100644
--- a/spec/Client_Observer.xml
+++ b/spec/Client_Observer.xml
@@ -30,8 +30,31 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
All observers are notified simultaneously, and they are not
given an opportunity to delay channel handling; they should not
alter the state of the channel.</p>
+
+ <p>Whenever a new channel is signalled, the channel dispatcher
+ notifies all observers whose
+ <tp:member-ref>ObserverChannelFilter</tp:member-ref> property
+ indicates that they are interested in the channel.</p>
</tp:docstring>
+ <property name="ObserverChannelFilter" type="v">
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>A specification of the channels in which this observer is
+ interested. The <tp:member-ref>ObserveChannel</tp:member-ref> method
+ should be called by the channel dispatcher whenever a new channel
+ matches this description.
+ </p>
+
+ <p>For observers that have a .client file, the channel dispatcher
+ may discover this property from the
+ [org.freedesktop.Telepathy.Client.Observer.DRAFT] section of the
+ .client file. (FIXME: what are the keys and their values?)</p>
+
+ <p>FIXME: the type 'v' is a placeholder and needs replacing with
+ something suitable.</p>
+ </tp:docstring>
+ </property>
+
<method name="ObserveChannel">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Called by the channel dispatcher when a channel in which the
--
1.5.6.5
More information about the Telepathy-commits
mailing list