KBucketEntry & operator=(const KBucketEntry &other)
const net::Address & getAddress() const
Get the socket address of the node.
bool operator<(const KBucketEntry &entry) const
< operator
bool isQuestionable() const
Is this node questionable (haven't heard from it in the last 15 minutes)
const Key & getID() const
Get it's ID.
bool operator==(const KBucketEntry &entry) const
Equality operator.
bool isBad() const
Is it a bad node. (Hasn't responded to a query.
bool isGood() const
Is this node a good node.
void hasResponded()
Signal the entry that the peer has responded.
void onPingQuestionable()
The entry has been pinged because it is questionable.