[Telepathy-commits] [telepathy-spec/master] Add direction to all Client.* method arguments
Simon McVittie
simon.mcvittie at collabora.co.uk
Fri Sep 26 08:21:23 PDT 2008
20080603113512-53eee-45c2fc3849abc05ee3f93d742f12f24609a1907c.gz
---
spec/Client_Approver.xml | 8 ++++----
spec/Client_Channel_Handler.xml | 4 ++--
spec/Client_Observer.xml | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/spec/Client_Approver.xml b/spec/Client_Approver.xml
index afcd109..001ed7d 100644
--- a/spec/Client_Approver.xml
+++ b/spec/Client_Approver.xml
@@ -73,7 +73,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</tp:rationale>
</tp:docstring>
- <arg name="Handlers" type="as">
+ <arg name="Handlers" type="as" direction="in">
<tp:docstring>
The list of clients that could handle this channel. The channel
dispatcher SHOULD order them with the "most preferred" handler
@@ -82,7 +82,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<!-- FIXME: what type is a client? An object path? A bus name? -->
</arg>
- <arg name="Dispatch" type="o">
+ <arg name="Dispatch" type="o" direction="in">
<tp:docstring>
The channel dispatch operation, which is an object inside the
channel dispatcher (and hence has the same bus name as the
@@ -90,7 +90,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</tp:docstring>
</arg>
- <arg name="Connection" type="o">
+ <arg name="Connection" type="o" direction="in">
<tp:docstring>
The Telepathy connection. Its well-known bus name can be derived
from its object path by replacing all '/' with '.' and removing
@@ -98,7 +98,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</tp:docstring>
</arg>
- <arg name="Channels" type="a(oa{sv})">
+ <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.
diff --git a/spec/Client_Channel_Handler.xml b/spec/Client_Channel_Handler.xml
index 044c981..316e81f 100644
--- a/spec/Client_Channel_Handler.xml
+++ b/spec/Client_Channel_Handler.xml
@@ -36,12 +36,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
this client should handle this channel.</p>
</tp:docstring>
- <arg name="Connection" type="o">
+ <arg name="Connection" type="o" direction="in">
<tp:docstring>
</tp:docstring>
</arg>
- <arg name="Channels" type="a(oa{sv})">
+ <arg name="Channels" type="a(oa{sv})" direction="in">
<tp:docstring>
</tp:docstring>
</arg>
diff --git a/spec/Client_Observer.xml b/spec/Client_Observer.xml
index 9c8bd8f..5f114d3 100644
--- a/spec/Client_Observer.xml
+++ b/spec/Client_Observer.xml
@@ -47,7 +47,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
It MAY accept replies asynchronously for logging purposes.</p>
</tp:docstring>
- <arg name="Connection" type="o">
+ <arg name="Connection" type="o" direction="in">
<tp:docstring>
The Telepathy connection. Its well-known bus name can be derived
from its object path by replacing all '/' with '.' and removing
@@ -55,7 +55,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</tp:docstring>
</arg>
- <arg name="Channel" type="o">
+ <arg name="Channel" type="o" direction="in">
<tp:docstring>
The channel. Its well-known bus name is the same as that of the
Connection.
@@ -63,7 +63,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</arg>
<!-- FIXME: or should observers be invoked per bundle? -->
- <arg name="Properties" type="a{sv}">
+ <arg name="Properties" type="a{sv}" direction="in">
<tp:docstring>
Immutable properties of the channel.
</tp:docstring>
--
1.5.6.5
More information about the Telepathy-commits
mailing list