[Telepathy-commits] [telepathy-spec/master] Updated main docstring about receiving a file and added a note about a non-zero offset.

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


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 spec/Channel_Type_File_Transfer.xml |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/spec/Channel_Type_File_Transfer.xml b/spec/Channel_Type_File_Transfer.xml
index e5c94dc..4838f7f 100644
--- a/spec/Channel_Type_File_Transfer.xml
+++ b/spec/Channel_Type_File_Transfer.xml
@@ -40,9 +40,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
 
       <li>In order to receive an incoming file transfer, one should call
       <tp:member-ref>AcceptFile</tp:member-ref> and then wait until the state
-      changes to Open. At this point, the receiver must check the
-      <tp:member-ref>InitialOffset</tp:member-ref> property for a difference in
-      offset from the requested value in AcceptFile.</li></ul>
+      changes to Open. If the receiver is resuming a transfer then he or she
+      should set a non-zero Offset argument when calling
+      <tp:member-ref>AcceptFile</tp:member-ref>. When the state changes to Open,
+      the receiver must check the <tp:member-ref>InitialOffset</tp:member-ref>
+      property for a difference in offset from the requested value in
+      AcceptFile.</li></ul>
 
       <p>If something goes wrong with the transfer,
       <tp:dbus-ref namespace="org.freedesktop.Telepathy">Channel.Close</tp:dbus-ref>
-- 
1.5.6.5




More information about the Telepathy-commits mailing list