|
libktorrent
2.1.1
|
#include <job.h>

Public Member Functions | |
| Job (bool stop_torrent, TorrentControl *tc) | |
| virtual void | kill (bool quietly=true) |
| void | setTorrent (TorrentControl *t) |
| Set the torrent associated with this job. | |
| void | start () override |
| bool | stopTorrent () const |
| Do we need to stop the torrent when the job is running. | |
| TorrentControl * | torrent () |
| Get the torrent associated with this job. | |
| virtual TorrentStatus | torrentStatus () const |
| Return the status of the torrent during the job (default implementation returns INVALID_STATUS) | |
Static Public Member Functions | |
| static void | setJobTracker (KJobTrackerInterface *trk) |
| Set the job tracker. | |
Protected Member Functions | |
| void | registerWithTracker () |
| Register the job with the tracker. | |
1.8.18