|
libktorrent
2.1.1
|
#include <magnetdownloader.h>

Public Slots | |
| void | start () |
| void | stop () |
Signals | |
| void | foundMetadata (bt::MagnetDownloader *self, const QByteArray &metadata) |
Public Member Functions | |
| MagnetDownloader (const MagnetLink &mlink, QObject *parent) | |
| const MagnetLink & | magnetLink () const |
| Get the MagnetLink. | |
| Uint32 | numPeers () const |
| How many peers are we connected to. | |
| bool | running () const |
| Is the magnet download running. | |
| void | update () |
Class which tries to download the metadata associated to a MagnetLink It basically has a Tracker (optional), a DHTPeerSource and a PeerManager. With these it tries to find peers, connect to them and download the metadata.
Definition at line 46 of file magnetdownloader.h.
|
signal |
Emitted when downloading the metadata was succesfull.
|
slot |
Start the MagnetDownloader, this will enable DHT.
|
slot |
Stop the MagnetDownloader
| void bt::MagnetDownloader::update | ( | ) |
Update the MagnetDownloader
1.8.18