libktorrent
2.1.1
|
#include <trackerinterface.h>
Public Member Functions | |
TrackerInterface (const QUrl &url) | |
Uint32 | getInterval () const |
int | getNumLeechers () const |
Get the number of leechers. | |
int | getNumSeeders () const |
Get the number of seeders. | |
int | getTotalTimesDownloaded () const |
Get the number of times the torrent was downloaded. | |
bool | isEnabled () const |
Is the tracker enabled. | |
bool | isStarted () const |
See if a start request succeeded. | |
virtual void | reset () |
Reset the tracker. | |
void | setEnabled (bool on) |
Enable or disable the tracker. | |
void | setInterval (Uint32 i) |
Set the interval. | |
Uint32 | timeToNextUpdate () const |
Get the time in seconds to the next tracker update. | |
TrackerStatus | trackerStatus () const |
Get the tracker status. | |
QString | trackerStatusString () const |
Get a string of the current tracker status. | |
QUrl | trackerURL () const |
get the tracker url | |
Protected Attributes | |
bool | enabled |
QString | error |
Uint32 | interval |
int | leechers |
QDateTime | request_time |
int | seeders |
bool | started |
TrackerStatus | status |
int | total_downloaded |
QUrl | url |
QString | warning |
Interface class for trackers to be used in plugins
Definition at line 56 of file trackerinterface.h.
|
inline |