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

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.

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

Member Function Documentation

void nfd::fw::asf::FaceInfo::setTimeoutEvent ( const scheduler::EventId &  id,
const Name interestName 
)
void nfd::fw::asf::FaceInfo::setMeasurementExpirationEventId ( const scheduler::EventId &  id)
inline
const scheduler::EventId& nfd::fw::asf::FaceInfo::getMeasurementExpirationEventId ( )
inline
void nfd::fw::asf::FaceInfo::cancelTimeoutEvent ( const Name prefix)
bool nfd::fw::asf::FaceInfo::isTimeoutScheduled ( ) const
inline
void nfd::fw::asf::FaceInfo::recordRtt ( const shared_ptr< pit::Entry > &  pitEntry,
const Face inFace 
)
void nfd::fw::asf::FaceInfo::recordTimeout ( const Name interestName)
bool nfd::fw::asf::FaceInfo::isTimeout ( ) const
inline
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().

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

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

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

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

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