|
libktorrent
2.1.1
|
#include <dhtpeersource.h>

Public Member Functions | |
| DHTPeerSource (DHTBase &dh_table, const bt::SHA1Hash &info_hash, const QString &torrent_name) | |
| void | addDHTNode (const bt::DHTNode &node) |
| void | manualUpdate () override |
| void | setRequestInterval (bt::Uint32 interval) |
| void | start () override |
| void | stop (bt::WaitJob *wjob=0) override |
Public Member Functions inherited from bt::PeerSource | |
| void | addPeer (const net::Address &addr, bool local=false) |
| bool | takePeer (net::Address &addr, bool &local) |
Additional Inherited Members | |
Public Slots inherited from bt::PeerSource | |
| virtual void | aboutToBeDestroyed () |
| virtual void | completed () |
Signals inherited from bt::PeerSource | |
| void | peersReady (PeerSource *ps) |
Definition at line 45 of file dhtpeersource.h.
|
overridevirtual |
PeerSources wanting to implement a manual update, should implement this.
Reimplemented from bt::PeerSource.
|
overridevirtual |
Start gathering peers.
Implements bt::PeerSource.
|
overridevirtual |
Stop gathering peers.
Implements bt::PeerSource.
1.8.18