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

#include <piece.h>

Inheritance diagram for bt::Piece:
Inheritance graph
[legend]

Public Member Functions

 Piece (Uint32 index, Uint32 off, Uint32 len, PieceDownloader *pd, const Uint8 *data)
 
const Uint8 * getData () const
 
- Public Member Functions inherited from bt::Request
 Request ()
 
 Request (const Request &r)
 
 Request (Uint32 index, Uint32 off, Uint32 len, PieceDownloader *pd)
 
Uint32 getIndex () const
 Get the index of the chunk.
 
Uint32 getLength () const
 Get the length of a the piece.
 
Uint32 getOffset () const
 Get the offset into the chunk.
 
PieceDownloadergetPieceDownloader () const
 Get the sending Peer.
 
Requestoperator= (const Request &r)
 

Detailed Description

Author
Joris Guisson

Definition at line 49 of file piece.h.


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