NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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
 
size_t getNSilentTimeouts () const
 
void setNSilentTimeouts (size_t nSilentTimeouts)
 

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 73 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 
)

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

◆ 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.

References nfd::fw::asf::RttStats::computeRto().

◆ getRtt()

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

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

References nfd::fw::asf::RttStats::getRtt().

Referenced by isTimeout().

◆ getSrtt()

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

◆ hasSrttMeasurement()

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

◆ getNSilentTimeouts()

size_t nfd::fw::asf::FaceInfo::getNSilentTimeouts ( ) const
inline

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

◆ setNSilentTimeouts()

void nfd::fw::asf::FaceInfo::setNSilentTimeouts ( size_t  nSilentTimeouts)
inline

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


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