ICP probing of cache_peers during peer selection. More...

#include <PingData.h>

Collaboration diagram for ping_data:

Public Member Functions

 ping_data ()
 
timeval deadline () const
 

Public Attributes

struct timeval start
 
struct timeval stop
 
int n_sent
 
int n_recv
 
int n_replies_expected
 
int timeout
 
int timedout
 
int w_rtt
 
int p_rtt
 

Private Attributes

friend PeerSelectorPingMonitor
 
WaitingPeerSelectorPosition monitorRegistration
 maintained by PeerSelectorPingMonitor More...
 

Detailed Description

Definition at line 25 of file PingData.h.

Constructor & Destructor Documentation

◆ ping_data()

ping_data::ping_data ( )

Definition at line 1187 of file peer_select.cc.

References start, and stop.

Member Function Documentation

◆ deadline()

timeval ping_data::deadline ( ) const

no ICP responses are expected beyond the returned absolute time

Returns
start + timeout

Definition at line 1204 of file peer_select.cc.

References start, timeout, and tvAdd().

Referenced by PeerSelectorPingMonitor::forget(), and PeerSelectorPingMonitor::monitor().

Member Data Documentation

◆ monitorRegistration

WaitingPeerSelectorPosition ping_data::monitorRegistration
private

Definition at line 49 of file PingData.h.

Referenced by PeerSelectorPingMonitor::forget(), and PeerSelectorPingMonitor::monitor().

◆ n_recv

int ping_data::n_recv

◆ n_replies_expected

int ping_data::n_replies_expected

◆ n_sent

int ping_data::n_sent

Definition at line 38 of file PingData.h.

Referenced by PeerSelector::selectSomeNeighbor().

◆ p_rtt

◆ PeerSelectorPingMonitor

friend ping_data::PeerSelectorPingMonitor
private

Definition at line 47 of file PingData.h.

◆ start

◆ stop

struct timeval ping_data::stop

◆ timedout

◆ timeout

int ping_data::timeout

Definition at line 41 of file PingData.h.

Referenced by clientUpdateHierCounters(), deadline(), and PeerSelector::selectSomeNeighbor().

◆ w_rtt

int ping_data::w_rtt

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors