libktorrent
2.2.0
|
#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 | hasWarning () const |
Is there any warnings. | |
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. | |
bool | timeOut () const |
Is tracker timed out. | |
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 | |
Interface class for trackers to be used in plugins
Definition at line 38 of file trackerinterface.h.
|
inline |