nfd::fw::asf::FaceInfo Class Reference

Strategy information for each face in a namespace. More...

#include <daemon/fw/asf-measurements.hpp>

Classes

class  Error
 

Public Member Functions

 FaceInfo ()
 
 ~FaceInfo ()
 
void cancelTimeoutEvent (const Name &prefix)
 
RttEstimator::Duration computeRto () const
 
const scheduler::EventId & getMeasurementExpirationEventId ()
 
RttStats::Rtt getRtt () const
 
RttStats::Rtt getSrtt () const
 
bool hasSrttMeasurement () const
 
bool isTimeout () const
 
bool isTimeoutScheduled () const
 
void recordRtt (const shared_ptr< pit::Entry > &pitEntry, const Face &inFace)
 
void recordTimeout (const Name &interestName)
 
void setMeasurementExpirationEventId (const scheduler::EventId &id)
 
void setTimeoutEvent (const scheduler::EventId &id, const Name &interestName)
 

Detailed Description

Strategy information for each face in a namespace.

Definition at line 92 of file asf-measurements.hpp.

Constructor & Destructor Documentation

nfd::fw::asf::FaceInfo::FaceInfo ( )

Definition at line 67 of file asf-measurements.cpp.

nfd::fw::asf::FaceInfo::~FaceInfo ( )

Definition at line 72 of file asf-measurements.cpp.

Member Function Documentation

void nfd::fw::asf::FaceInfo::cancelTimeoutEvent ( const Name &  prefix)

Definition at line 99 of file asf-measurements.cpp.

RttEstimator::Duration nfd::fw::asf::FaceInfo::computeRto ( ) const
inline

Definition at line 146 of file asf-measurements.hpp.

const scheduler::EventId& nfd::fw::asf::FaceInfo::getMeasurementExpirationEventId ( )
inline

Definition at line 119 of file asf-measurements.hpp.

RttStats::Rtt nfd::fw::asf::FaceInfo::getRtt ( ) const
inline

Definition at line 152 of file asf-measurements.hpp.

RttStats::Rtt nfd::fw::asf::FaceInfo::getSrtt ( ) const
inline

Definition at line 158 of file asf-measurements.hpp.

bool nfd::fw::asf::FaceInfo::hasSrttMeasurement ( ) const
inline

Definition at line 164 of file asf-measurements.hpp.

bool nfd::fw::asf::FaceInfo::isTimeout ( ) const
inline

Definition at line 140 of file asf-measurements.hpp.

bool nfd::fw::asf::FaceInfo::isTimeoutScheduled ( ) const
inline

Definition at line 128 of file asf-measurements.hpp.

void nfd::fw::asf::FaceInfo::recordRtt ( const shared_ptr< pit::Entry > &  pitEntry,
const Face &  inFace 
)

Definition at line 113 of file asf-measurements.cpp.

void nfd::fw::asf::FaceInfo::recordTimeout ( const Name &  interestName)

Definition at line 134 of file asf-measurements.cpp.

void nfd::fw::asf::FaceInfo::setMeasurementExpirationEventId ( const scheduler::EventId &  id)
inline

Definition at line 113 of file asf-measurements.hpp.

void nfd::fw::asf::FaceInfo::setTimeoutEvent ( const scheduler::EventId &  id,
const Name &  interestName 
)

Definition at line 79 of file asf-measurements.cpp.