libktorrent
2.2.0
|
#include <kbuckettable.h>
Public Member Functions | |
KBucketTable (const Key &our_id) | |
void | findKClosestNodes (KClosestNodesSearch &kns) |
FInd the K closest nodes. | |
void | insert (const KBucketEntry &entry, RPCServerInterface *srv) |
Insert a KBucketEntry into the table. | |
void | loadTable (const QString &file, dht::RPCServerInterface *srv) |
Load the table from a file. | |
int | numEntries () const |
Get the number of entries. | |
void | onTimeout (const net::Address &addr) |
Timeout happened. | |
void | refreshBuckets (DHT *dh_table) |
Refresh the buckets. | |
void | saveTable (const QString &file) |
Save table to a file. | |
Holds a table of buckets.
Definition at line 51 of file kbuckettable.h.