Update File transfer

This commit is contained in:
Sébastien Blin 2019-04-19 14:33:16 -04:00
parent e36eac1039
commit 0f97ba4ca3
1 changed files with 4 additions and 4 deletions

View File

@ -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**