libktorrent  2.2.0
Public Member Functions | List of all members
bt::MetadataDownload Class Reference

#include <metadatadownload.h>

Public Member Functions

 MetadataDownload (UTMetaData *ext, Uint32 size)
 
bool data (Uint32 piece, const QByteArray &piece_data)
 
void reject (Uint32 piece)
 A reject of a piece was received.
 
const QByteArray & result () const
 Get the result.
 

Detailed Description

Handles the metadatadownload

Definition at line 39 of file metadatadownload.h.

Member Function Documentation

◆ data()

bool bt::MetadataDownload::data ( Uint32  piece,
const QByteArray &  piece_data 
)

A piece was received

Returns
true if all the data has been received

The documentation for this class was generated from the following file: