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>


class  Error

Public Member Functions

 FaceInfo ()
 ~FaceInfo ()
void setTimeoutEvent (const scheduler::EventId &id, const Name &interestName)
void setMeasurementExpirationEventId (const scheduler::EventId &id)
const scheduler::EventIdgetMeasurementExpirationEventId ()
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)

◆ getMeasurementExpirationEventId()

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

◆ cancelTimeoutEvent()

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

◆ isTimeoutScheduled()

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

◆ recordRtt()

◆ recordTimeout()

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

◆ isTimeout()

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

◆ computeRto()

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

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

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

◆ getRtt()

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

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

◆ hasSrttMeasurement()

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

◆ getNSilentTimeouts()

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

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

◆ setNSilentTimeouts()

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

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

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