[Telepathy-commits] [telepathy-spec/master] Changed GetAvailableSocketTypes method into AvailableSocketTypes property.
Jonny Lamb
jonny.lamb at collabora.co.uk
Fri Nov 14 02:45:04 PST 2008
20080702191503-8ed0e-553596ccbc743418d7fe9e94ff18ac151fd1cb3a.gz
---
spec/Channel_Type_File.xml | 49 ++++++++++++++++++++-----------------------
1 files changed, 23 insertions(+), 26 deletions(-)
diff --git a/spec/Channel_Type_File.xml b/spec/Channel_Type_File.xml
index ccbc82b..a5fba2f 100644
--- a/spec/Channel_Type_File.xml
+++ b/spec/Channel_Type_File.xml
@@ -69,6 +69,29 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</tp:docstring>
</property>
+ <property name="AvailableSocketTypes" type="a{uau}"
+ tp:type="Supported_Socket_Map" access="read">
+ <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
+ <p>A mapping from address types (members of Socket_Address_Type) to
+ arrays of access-control type (members of Socket_Access_Control)
+ that the connection manager supports for sockets with that
+ address type. For simplicity, if a CM supports offering a
+ particular type of file transfer, it is assumed to support accepting
+ it.</p>
+
+ <p>A typical value for a host that supports only Unix sockets:</p>
+
+ <pre>
+ {
+ Socket_Address_Type_Unix:
+ [Socket_Access_Control_Localhost, Socket_Access_Control_Credentials]
+ Socket_Address_Type_Abstract_Unix:
+ [Socket_Access_Control_Localhost, Socket_Access_Control_Credentials]
+ }
+ </pre>
+ </tp:docstring>
+ </property>
+
<tp:enum name="File_Transfer_State">
<tp:enumvalue suffix="Local_Pending" value="0">
<tp:docstring>
@@ -125,32 +148,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</tp:enumvalue>
</tp:enum>
- <method name="GetAvailableSocketTypes">
- <tp:docstring>List the available address types and access-control types
- for sockets.</tp:docstring>
- <arg direction="out" type="a{uau}" tp:type="Supported_Socket_Map">
- <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
- <p>A mapping from address types (members of Socket_Address_Type) to
- arrays of access-control type (members of Socket_Access_Control)
- that the connection manager supports for sockets with that
- address type. For simplicity, if a CM supports offering a
- particular type of file transfer, it is assumed to support accepting
- it.</p>
-
- <p>A typical value for a host that supports only Unix sockets:</p>
-
- <pre>
- {
- Socket_Address_Type_Unix:
- [Socket_Access_Control_Localhost, Socket_Access_Control_Credentials]
- Socket_Address_Type_Abstract_Unix:
- [Socket_Access_Control_Localhost, Socket_Access_Control_Credentials]
- }
- </pre>
- </tp:docstring>
- </arg>
- </method>
-
<method name="AcceptFile">
<tp:docstring>
Accept a file transfer that's in the "local pending" state. The file
--
1.5.6.5
More information about the Telepathy-commits
mailing list