#include <file_transfer.h>
Definition at line 166 of file file_transfer.h.
◆ FileTransferManager() [1/2]
◆ ~FileTransferManager()
| librats::FileTransferManager::~FileTransferManager |
( |
| ) |
|
◆ FileTransferManager() [2/2]
◆ accept()
| bool librats::FileTransferManager::accept |
( |
const std::string & |
transfer_id, |
|
|
const std::string & |
local_path |
|
) |
| |
◆ cancel()
| bool librats::FileTransferManager::cancel |
( |
const std::string & |
transfer_id | ) |
|
◆ compute_file_sha256()
| static std::string librats::FileTransferManager::compute_file_sha256 |
( |
const std::string & |
path | ) |
|
|
static |
◆ get_active_transfers()
| std::vector< std::shared_ptr< FileTransferProgress > > librats::FileTransferManager::get_active_transfers |
( |
| ) |
const |
◆ get_config()
◆ get_progress()
| std::shared_ptr< FileTransferProgress > librats::FileTransferManager::get_progress |
( |
const std::string & |
transfer_id | ) |
const |
◆ get_statistics()
| nlohmann::json librats::FileTransferManager::get_statistics |
( |
| ) |
const |
◆ handle_binary_data()
| bool librats::FileTransferManager::handle_binary_data |
( |
const std::string & |
peer_id, |
|
|
const std::vector< uint8_t > & |
data |
|
) |
| |
◆ on_peer_disconnected()
| void librats::FileTransferManager::on_peer_disconnected |
( |
const std::string & |
peer_id | ) |
|
◆ operator=()
◆ pause()
| bool librats::FileTransferManager::pause |
( |
const std::string & |
transfer_id | ) |
|
◆ reject()
| bool librats::FileTransferManager::reject |
( |
const std::string & |
transfer_id, |
|
|
const std::string & |
reason = "" |
|
) |
| |
◆ resume()
| bool librats::FileTransferManager::resume |
( |
const std::string & |
transfer_id | ) |
|
◆ send_directory()
| std::string librats::FileTransferManager::send_directory |
( |
const std::string & |
peer_id, |
|
|
const std::string & |
directory_path, |
|
|
const std::string & |
remote_name = "" |
|
) |
| |
◆ send_file()
| std::string librats::FileTransferManager::send_file |
( |
const std::string & |
peer_id, |
|
|
const std::string & |
file_path, |
|
|
const std::string & |
remote_name = "" |
|
) |
| |
◆ set_completed_callback()
◆ set_config()
◆ set_offer_callback()
◆ set_progress_callback()
The documentation for this class was generated from the following file: