libktorrent
2.2.0
|
Public Member Functions | |
KBucketEntryAndToken (const KBucketEntry &e, const QByteArray &token) | |
const QByteArray & | getToken () const |
![]() | |
KBucketEntry () | |
KBucketEntry (const KBucketEntry &other) | |
KBucketEntry (const net::Address &addr, const Key &id) | |
virtual | ~KBucketEntry () |
Destructor. | |
const net::Address & | getAddress () const |
Get the socket address of the node. | |
const Key & | getID () const |
Get it's ID. | |
void | hasResponded () |
Signal the entry that the peer has responded. | |
bool | isBad () const |
Is it a bad node. (Hasn't responded to a query. | |
bool | isGood () const |
Is this node a good node. | |
bool | isQuestionable () const |
Is this node questionable (haven't heard from it in the last 15 minutes) | |
void | onPingQuestionable () |
The entry has been pinged because it is questionable. | |
bool | operator< (const KBucketEntry &entry) const |
< operator | |
KBucketEntry & | operator= (const KBucketEntry &other) |
bool | operator== (const KBucketEntry &entry) const |
Equality operator. | |
void | requestTimeout () |
A request timed out. | |
Additional Inherited Members | |
![]() | |
static KBucketEntry | null |
The null entry. | |
Definition at line 31 of file announcetask.h.