Protocols::BitTorrent::Transfers::TrackerManager Class Reference

#include <Transfer.h> [code]

List of all members.


Detailed Description

Holds a list of tracker URIs. Queries the trackers and returns the found peers using the status interface. Automatically updates peers considering their individual update interval.

Todo:
Pass the complete torrent? Also at least info_hash is required!
Todo:
What is with the uploaded/downloaded info? We could use a PacketProcessor to count the total number of bytes and we could give TrackerManager access to it? Maybe we could define an interface TransferState which could be used to query current upload/download rate and total bytes.
Todo:
start() should take a QList <Uri> or an AnnounceList.

Definition at line 50 of file Transfer.h.

Public Member Functions

virtual ~TrackerManager ()
virtual void start (const Uri &announce)=0
virtual void stop ()=0


Constructor & Destructor Documentation

virtual Protocols::BitTorrent::Transfers::TrackerManager::~TrackerManager  )  [inline, virtual]
 

Definition at line 55 of file Transfer.h.


Member Function Documentation

virtual void Protocols::BitTorrent::Transfers::TrackerManager::start const Uri announce  )  [pure virtual]
 

virtual void Protocols::BitTorrent::Transfers::TrackerManager::stop  )  [pure virtual]
 


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