[Telepathy-commits] [telepathy-spec/master] Removed OfferFile method.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 14 02:44:59 PST 2008


20080630152718-8ed0e-fa6100a3ef7e987bb7c2aba71fd7bf7236193fd9.gz
---
 spec/Channel_Type_File.xml |   68 --------------------------------------------
 1 files changed, 0 insertions(+), 68 deletions(-)

diff --git a/spec/Channel_Type_File.xml b/spec/Channel_Type_File.xml
index 6b7e852..72734cb 100644
--- a/spec/Channel_Type_File.xml
+++ b/spec/Channel_Type_File.xml
@@ -207,74 +207,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
       </arg>
     </method>
 
-    <method name="OfferFile">
-      <tp:docstring>
-        Offers a file for transmission.
-      </tp:docstring>
-      <arg direction="in" name="filename" type="s">
-        <tp:docstring>
-          The filename of the file that is to be transmitted, for displaying.
-        </tp:docstring>
-      </arg>
-      <arg direction="in" name="information" type="a{sv}"
-        tp:type="String_Variant_Map">
-        <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
-          A dictionary of additional information about the file.
-          Common keys:
-          <dl>
-            <dt><code>size</code> - <code>t</code></dt>
-            <dd>The file size (omitted if not known)</dd>
-            <dt><code>mime-type</code> - <code>s</code></dt>
-            <dd>The MIME type of the file (omitted if not known)</dd>
-          </dl>
-        </tp:docstring>
-      </arg>
-      <arg direction="in" name="address_type" type="u" tp:type="Socket_Address_Type">
-        <tp:docstring>
-          Tthe type of socket the client would like the CM to create, as a
-          member of Socket_Address_Type.
-        </tp:docstring>
-      </arg>
-      <arg direction="in" name="access_control" type="u" tp:type="Socket_Access_Control">
-        <tp:docstring>
-          The access control the CM should apply to the local socket.
-        </tp:docstring>
-      </arg>
-      <arg direction="in" name="access_control_param" type="v">
-        <tp:docstring>
-          A parameter for the access control type, to be interpreted as
-          specified in the documentation for the Socket_Access_Control enum.
-        </tp:docstring>
-      </arg>
-      <arg direction="out" name="id" type="u" tp:type="File_Transfer_ID">
-        <tp:docstring>
-          The ID of the new file transfer.
-        </tp:docstring>
-      </arg>
-      <arg direction="out" name="address" type="v">
-        <tp:docstring>
-          The address on which the connection manager will listen for
-          connections for this file transfer. The client should not attempt to
-          connect to the address until the file transfer is open.
-        </tp:docstring>
-      </arg>
-      <tp:possible-errors>
-        <tp:error name="org.freedesktop.Telepathy.Error.NetworkError"/>
-        <tp:error name="org.freedesktop.Telepathy.Error.NotAvailable">
-          <tp:docstring>
-            The contact associated with this channel doesn't have file
-            transfer capabilities.
-          </tp:docstring>
-        </tp:error>
-        <tp:error name="org.freedesktop.Telepathy.Error.NotImplemented">
-          <tp:docstring>
-            The connection manager doesn't support the given address type or
-            access-control type.
-          </tp:docstring>
-        </tp:error>
-      </tp:possible-errors>
-    </method>
-
     <signal name="NewFileTransfer">
       <tp:docstring>
         Emitted when a file transfer is created.
-- 
1.5.6.5




More information about the Telepathy-commits mailing list