NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::fw::asf::FaceInfo Class Reference

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

#include <asf-measurements.hpp>

Classes

class  Error
 

Public Member Functions

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

Detailed Description

Strategy information for each face in a namespace.

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

Constructor & Destructor Documentation

◆ FaceInfo()

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

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

◆ ~FaceInfo()

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

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

References nfd::scheduler::cancel(), and cancelTimeoutEvent().

Member Function Documentation

◆ setTimeoutEvent()

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

◆ setMeasurementExpirationEventId()

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

◆ getMeasurementExpirationEventId()

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

◆ cancelTimeoutEvent()

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

◆ isTimeoutScheduled()

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

◆ recordRtt()

◆ recordTimeout()

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

◆ isTimeout()

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

◆ computeRto()

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

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

Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack().

◆ getRtt()

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

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

Referenced by nfd::fw::asf::getValueForSorting().

◆ getSrtt()

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

◆ hasSrttMeasurement()

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

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