diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-08-31 17:54:50 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-08-31 17:54:50 +0100 |
commit | cd2660ed42eb9dc7f876a098bdc6cde96119a908 (patch) | |
tree | 0780e1a9df1cbb473829dda9702c9b716930f5df /spec/Client_Approver.xml | |
parent | d212d130516a37ed45dd80ae28b08b97346f46d9 (diff) |
Approver: instead of having lots of stuff passed to AddDispatchOperation separately, just pass in the CDO's properties
Diffstat (limited to 'spec/Client_Approver.xml')
-rw-r--r-- | spec/Client_Approver.xml | 52 |
1 files changed, 19 insertions, 33 deletions
diff --git a/spec/Client_Approver.xml b/spec/Client_Approver.xml index 4d4d5a18..a671d612 100644 --- a/spec/Client_Approver.xml +++ b/spec/Client_Approver.xml @@ -99,46 +99,32 @@ </tp:rationale> </tp:docstring> - <arg name="Handlers" type="as" direction="in"> - <tp:docstring> - The well-known bus names of - <tp:dbus-ref namespace="org.freedesktop.Telepathy">Client.Handler</tp:dbus-ref>s - that could handle this channel. - The channel dispatcher SHOULD order them with the "most preferred" - handler first, in an implementation-dependent way. - </tp:docstring> - <!-- FIXME: what type is a client? An object path? A bus name? --> - </arg> - <arg name="DispatchOperation" type="o" direction="in"> - <tp:docstring> - The <tp:dbus-ref namespace="org.freedesktop.Telepathy">ChannelDispatchOperation</tp:dbus-ref>, - which is an object inside the channel dispatcher (and hence has the - same well-known bus name, - org.freedesktop.Telepathy.ChannelDispatcher). + <tp:docstring xmlns="http://www.w3.org/1999/xhtml"> + <p>The + <tp:dbus-ref namespace="org.freedesktop.Telepathy">ChannelDispatchOperation</tp:dbus-ref> + to be processed.</p> </tp:docstring> </arg> - <arg name="Connection" type="o" direction="in"> + <arg name="Properties" type="a{sv}" + tp:type="Qualified_Property_Value_Map" direction="in"> <tp:docstring> - The <tp:dbus-ref namespace="org.freedesktop.Telepathy">Connection</tp:dbus-ref> - with which the channels are associated. The - well-known bus name to use can be derived from this object - path by removing the leading '/' and replacing all subsequent - '/' by '.'. + Properties of the channel dispatch operation. This MUST NOT include + properties that could change, SHOULD include as many properties as + possible given that constraint, and MUST include at least the + <tp:dbus-ref + namespace="org.freedesktop.Telepathy.ChannelDispatchOperation.DRAFT">Account</tp:dbus-ref>, + <tp:dbus-ref + namespace="org.freedesktop.Telepathy.ChannelDispatchOperation.DRAFT">Connection</tp:dbus-ref>, + <tp:dbus-ref + namespace="org.freedesktop.Telepathy.ChannelDispatchOperation.DRAFT">Channels</tp:dbus-ref> + and + <tp:dbus-ref + namespace="org.freedesktop.Telepathy.ChannelDispatchOperation.DRAFT">PossibleHandlers</tp:dbus-ref> + properties. </tp:docstring> </arg> - - <arg name="Channels" type="a(oa{sv})" direction="in"> - <tp:docstring> - The channel bundle. The well-known bus name for all these channels - is the same as for the Connection. - </tp:docstring> - </arg> - - <tp:possible-errors> - <!-- FIXME --> - </tp:possible-errors> </method> </interface> |