libktorrent  2.2.0
Public Member Functions | List of all members
dht::KBucketEntryAndToken Class Reference
Inheritance diagram for dht::KBucketEntryAndToken:
Inheritance graph
[legend]

Public Member Functions

 KBucketEntryAndToken (const KBucketEntry &e, const QByteArray &token)
 
const QByteArray & getToken () const
 
- Public Member Functions inherited from dht::KBucketEntry
 KBucketEntry ()
 
 KBucketEntry (const KBucketEntry &other)
 
 KBucketEntry (const net::Address &addr, const Key &id)
 
virtual ~KBucketEntry ()
 Destructor.
 
const net::AddressgetAddress () const
 Get the socket address of the node.
 
const KeygetID () 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
 
KBucketEntryoperator= (const KBucketEntry &other)
 
bool operator== (const KBucketEntry &entry) const
 Equality operator.
 
void requestTimeout ()
 A request timed out.
 

Additional Inherited Members

- Static Public Attributes inherited from dht::KBucketEntry
static KBucketEntry null
 The null entry.
 

Detailed Description

Definition at line 31 of file announcetask.h.


The documentation for this class was generated from the following file: