My Project 3.2.0
C++ Distributed Hash Table
Loading...
Searching...
No Matches
dht::NodeStats Struct Reference

Public Member Functions

unsigned getKnownNodes () const
 
unsigned long getNetworkSizeEstimation () const
 
std::string toString () const
 

Public Attributes

unsigned good_nodes {0}
 
unsigned dubious_nodes {0}
 
unsigned cached_nodes {0}
 
unsigned incoming_nodes {0}
 
unsigned table_depth {0}
 
unsigned searches {0}
 
unsigned node_cache_size {0}
 

Detailed Description

Definition at line 55 of file callbacks.h.

Member Function Documentation

◆ getKnownNodes()

unsigned dht::NodeStats::getKnownNodes ( ) const
inline

Definition at line 63 of file callbacks.h.

◆ getNetworkSizeEstimation()

unsigned long dht::NodeStats::getNetworkSizeEstimation ( ) const
inline

Definition at line 64 of file callbacks.h.

Member Data Documentation

◆ cached_nodes

unsigned dht::NodeStats::cached_nodes {0}

Definition at line 58 of file callbacks.h.

◆ dubious_nodes

unsigned dht::NodeStats::dubious_nodes {0}

Definition at line 57 of file callbacks.h.

◆ good_nodes

unsigned dht::NodeStats::good_nodes {0}

Definition at line 56 of file callbacks.h.

◆ incoming_nodes

unsigned dht::NodeStats::incoming_nodes {0}

Definition at line 59 of file callbacks.h.

◆ node_cache_size

unsigned dht::NodeStats::node_cache_size {0}

Definition at line 62 of file callbacks.h.

◆ searches

unsigned dht::NodeStats::searches {0}

Definition at line 61 of file callbacks.h.

◆ table_depth

unsigned dht::NodeStats::table_depth {0}

Definition at line 60 of file callbacks.h.


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