20 #ifndef BTCHUNKDOWNLOADINTERFACE_H
21 #define BTCHUNKDOWNLOADINTERFACE_H
24 #include <util/constants.h>
57 virtual void getStats(
Stats & s) = 0;
Interface for a ChunkDownload.
QString current_peer_id
The PeerID of the current downloader.
bt::Uint32 download_speed
The current download speed.
bt::Uint32 num_downloaders
The number of assigned downloaders.
bt::Uint32 total_pieces
The total number of pieces of the chunk.
bt::Uint32 pieces_downloaded
The number of pieces of the chunk which have been downloaded.
bt::Uint32 chunk_index
The index of the chunk.