#include <peersourcemanager.h>
|
void | addTracker (Tracker *trk) |
|
Uint64 | bytesDownloaded () const override |
|
Uint64 | bytesLeft () const override |
|
Uint64 | bytesUploaded () const override |
|
const SHA1Hash & | infoHash () const override |
|
bool | isPartialSeed () const override |
|
void | loadCustomURLs () |
|
void | loadTrackerStatus () |
|
void | saveCustomURLs () |
|
void | saveTrackerStatus () |
|
Tracker * | selectTracker () |
|
void | switchTracker (Tracker *trk) |
|
Tracker * | curr |
|
QList< QUrl > | custom_trackers |
|
bool | no_save_custom_trackers |
|
PeerManager * | pman |
|
bool | started |
|
TorrentControl * | tor |
|
PtrMap< QUrl, Tracker > | trackers |
|
- Author
- Joris Guisson joris.nosp@m..gui.nosp@m.sson@.nosp@m.gmai.nosp@m.l.com
This class manages all PeerSources.
Definition at line 48 of file peersourcemanager.h.
◆ addPeerSource()
void bt::PeerSourceManager::addPeerSource |
( |
PeerSource * |
ps | ) |
|
◆ completed()
void bt::PeerSourceManager::completed |
( |
| ) |
|
|
overridevirtual |
Notify peersources and trackrs that the download is complete.
Reimplemented from bt::TrackerManager.
◆ isStarted()
bool bt::PeerSourceManager::isStarted |
( |
| ) |
const |
|
inline |
◆ manualUpdate()
void bt::PeerSourceManager::manualUpdate |
( |
| ) |
|
|
overridevirtual |
Do a manual update on all peer sources and trackers.
Reimplemented from bt::TrackerManager.
◆ removePeerSource()
void bt::PeerSourceManager::removePeerSource |
( |
PeerSource * |
ps | ) |
|
◆ start()
void bt::PeerSourceManager::start |
( |
| ) |
|
|
overridevirtual |
◆ stop()
void bt::PeerSourceManager::stop |
( |
WaitJob * |
wjob = 0 | ) |
|
|
overridevirtual |
Stop gathering peers
- Parameters
-
wjob | WaitJob to wait at exit for the completion of stopped events to the trackers |
Reimplemented from bt::TrackerManager.
The documentation for this class was generated from the following file: