#include <PeerDigest.h>

Collaboration diagram for PeerDigest:

Public Member Functions

void * operator new (size_t size)
 
void operator delete (void *address)
 
void * toCbdata () noexcept
 

Public Attributes

CachePeerpeer
 
CacheDigestcd
 
String host
 
const char * req_result
 
struct {
   bool   needed
 
   bool   usable
 
   bool   requested
 
flags
 
struct {
   time_t   initialized
 
   time_t   needed
 
   time_t   next_check
 
   time_t   retry_delay
 
   time_t   requested
 
   time_t   req_delay
 
   time_t   received
 
   time_t   disabled
 
times
 
struct {
   CacheDigestGuessStats   guess
 
   int   used_count
 
   struct {
      int   msgs
 
      ByteCounter   kbytes
 
   }   sent
 
   struct {
      int   msgs
 
      ByteCounter   kbytes
 
   }   recv
 
stats
 

Static Private Attributes

static cbdata_type CBDATA_PeerDigest = CBDATA_UNKNOWN
 

Detailed Description

Definition at line 74 of file PeerDigest.h.

Member Function Documentation

void PeerDigest::operator delete ( void *  address)
inline

Definition at line 76 of file PeerDigest.h.

void* PeerDigest::operator new ( size_t  size)
inline

Definition at line 76 of file PeerDigest.h.

void* PeerDigest::toCbdata ( )
inlinenoexcept

Definition at line 76 of file PeerDigest.h.

Member Data Documentation

cbdata_type PeerDigest::CBDATA_PeerDigest = CBDATA_UNKNOWN
staticprivate

Definition at line 76 of file PeerDigest.h.

time_t PeerDigest::disabled

Definition at line 99 of file PeerDigest.h.

CacheDigestGuessStats PeerDigest::guess

Definition at line 103 of file PeerDigest.h.

Referenced by peerDigestStatsReport().

time_t PeerDigest::initialized

Definition at line 92 of file PeerDigest.h.

Referenced by peerDigestInit().

ByteCounter PeerDigest::kbytes

Definition at line 108 of file PeerDigest.h.

int PeerDigest::msgs

Definition at line 107 of file PeerDigest.h.

bool PeerDigest::needed

there were requests for this digest

Definition at line 85 of file PeerDigest.h.

Referenced by peerDigestLookup(), and peerDigestNeeded().

time_t PeerDigest::needed

Definition at line 93 of file PeerDigest.h.

time_t PeerDigest::next_check

Definition at line 94 of file PeerDigest.h.

Referenced by peerDigestCheck(), and peerDigestSetCheck().

CachePeer* PeerDigest::peer

pointer back to peer structure, argh

Definition at line 76 of file PeerDigest.h.

Referenced by peerDigestCheck(), peerDigestDestroy(), peerDigestFetchedEnough(), peerDigestInit(), and peerDigestRequest().

time_t PeerDigest::received

Definition at line 98 of file PeerDigest.h.

Referenced by peerDigestCheck(), and peerDigestPDFinish().

struct { ... } PeerDigest::recv
time_t PeerDigest::req_delay

Definition at line 97 of file PeerDigest.h.

Referenced by peerDigestPDFinish(), and peerDigestStatsReport().

const char* PeerDigest::req_result

text status of the last request

Definition at line 82 of file PeerDigest.h.

Referenced by peerDigestPDFinish(), peerDigestReqFinish(), peerDigestRequest(), and peerDigestStatsReport().

bool PeerDigest::requested

in process of receiving [fresh] digest

Definition at line 87 of file PeerDigest.h.

Referenced by peerDigestCheck(), peerDigestLookup(), peerDigestNotePeerGone(), peerDigestReqFinish(), and peerDigestRequest().

time_t PeerDigest::requested

Definition at line 96 of file PeerDigest.h.

time_t PeerDigest::retry_delay

Definition at line 95 of file PeerDigest.h.

Referenced by peerDigestIncDelay(), peerDigestReqFinish(), and peerDigestStatsReport().

struct { ... } PeerDigest::sent
struct { ... } PeerDigest::stats
bool PeerDigest::usable

can be used for lookups

Definition at line 86 of file PeerDigest.h.

Referenced by peerDigestLookup(), and peerDigestPDFinish().

int PeerDigest::used_count

Definition at line 104 of file PeerDigest.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors