Furrent
Classes | Namespaces | Enumerations | Functions
downloader.hpp File Reference
#include <cstdint>
#include <memory>
#include <optional>
#include "download/bitfield.hpp"
#include "download/message.hpp"
#include "download/socket.hpp"
#include "peer.hpp"
#include "tfriend_fw.hpp"
#include "torrent.hpp"
#include "util/result.hpp"
Include dependency graph for downloader.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fur::download::Downloaded
 A downloaded piece for a torrent file. More...
 
class  fur::download::downloader::Downloader
 

Namespaces

 fur
 Common types used in all the project.
 
 fur::download
 
 fur::download::downloader
 

Enumerations

enum  fur::download::downloader::DownloaderError {
  fur::download::downloader::DownloaderError::DifferentInfoHash, fur::download::downloader::DownloaderError::InvalidMessage, fur::download::downloader::DownloaderError::NoBitfield, fur::download::downloader::DownloaderError::MissingPiece,
  fur::download::downloader::DownloaderError::CorruptPiece, fur::download::downloader::DownloaderError::SocketTimeout, fur::download::downloader::DownloaderError::SocketOther
}
 

Functions

DownloaderError fur::download::downloader::from_socket_error (const socket::SocketError &err)