From 0f97ba4ca3f7b31b6a2cc44c2549f9b6a2660d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= Date: Fri, 19 Apr 2019 14:33:16 -0400 Subject: [PATCH] Update File transfer --- tutorials/File-transfer.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tutorials/File-transfer.md b/tutorials/File-transfer.md index 46d36825..79736639 100644 --- a/tutorials/File-transfer.md +++ b/tutorials/File-transfer.md @@ -59,10 +59,6 @@ The first part will be a small header to describe the content of the file. Then, ##### Sending a file -**TODO** - -##### Receiving a file - The following method is used: 1\. A client will call `DataTransferFacade::sendFile()`. `DataTransferFacade` is the class corresponding to the API exposed for the clients. It is used to manage a view of the file transfers (the corresponding classes are `DataTransfer`, `IncomingFileTransfer`, `OutgoingFileTransfer` and `SubOutgoingFileTransfer`). This method will ask the linked `JamiAccount` to request a connection. @@ -81,6 +77,10 @@ The following method is used: 7\. If a cancel is received from the peer or the client or if the file transfer finish, the connection will be closed via a `CANCEL` message on the `DhtPeerConnector::eventLoop()` and the resources will be released. +##### Receiving a file + +**TODO** + ##### Schema **TODO**