nfd::fw::asf::NamespaceInfo Class Reference

Stores strategy information about each face in this namespace. More...

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

+ Inheritance diagram for nfd::fw::asf::NamespaceInfo:
+ Collaboration diagram for nfd::fw::asf::NamespaceInfo:

Public Member Functions

 NamespaceInfo (shared_ptr< const ndn::util::RttEstimator::Options > opts)
 
void extendFaceInfoLifetime (FaceInfo &info, FaceId faceId)
 
FaceInfogetFaceInfo (FaceId faceId)
 
FaceInfogetOrCreateFaceInfo (FaceId faceId)
 
bool isFirstProbeScheduled () const
 
bool isProbingDue () const
 
void setIsFirstProbeScheduled (bool isScheduled)
 
void setIsProbingDue (bool isProbingDue)
 

Static Public Member Functions

static constexpr int getTypeId ()
 

Detailed Description

Stores strategy information about each face in this namespace.

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

Constructor & Destructor Documentation

nfd::fw::asf::NamespaceInfo::NamespaceInfo ( shared_ptr< const ndn::util::RttEstimator::Options >  opts)
inlineexplicit

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

Member Function Documentation

void nfd::fw::asf::NamespaceInfo::extendFaceInfoLifetime ( FaceInfo info,
FaceId  faceId 
)

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

FaceInfo * nfd::fw::asf::NamespaceInfo::getFaceInfo ( FaceId  faceId)

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

FaceInfo & nfd::fw::asf::NamespaceInfo::getOrCreateFaceInfo ( FaceId  faceId)

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

static constexpr int nfd::fw::asf::NamespaceInfo::getTypeId ( )
inlinestatic

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

bool nfd::fw::asf::NamespaceInfo::isFirstProbeScheduled ( ) const
inline

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

bool nfd::fw::asf::NamespaceInfo::isProbingDue ( ) const
inline

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

void nfd::fw::asf::NamespaceInfo::setIsFirstProbeScheduled ( bool  isScheduled)
inline

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

void nfd::fw::asf::NamespaceInfo::setIsProbingDue ( bool  isProbingDue)
inline

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