nfd::fw::asf::ProbingModule Class Reference

ASF Probing Module. More...

#include <daemon/fw/asf-probing-module.hpp>

Classes

struct  FaceStatsProbingCompare
 

Public Types

using FaceStatsProbingSet = std::set< FaceStats, FaceStatsProbingCompare >
 

Public Member Functions

 ProbingModule (AsfMeasurements &measurements)
 
void afterForwardingProbe (const fib::Entry &fibEntry, const Name &interestName)
 
FacegetFaceToProbe (const Face &inFace, const Interest &interest, const fib::Entry &fibEntry, const Face &faceUsed)
 
time::milliseconds getProbingInterval () const
 
bool isProbingNeeded (const fib::Entry &fibEntry, const Name &interestName)
 
void scheduleProbe (const fib::Entry &fibEntry, time::milliseconds interval)
 
void setProbingInterval (time::milliseconds probingInterval)
 

Static Public Attributes

static constexpr time::milliseconds DEFAULT_PROBING_INTERVAL = 1_min
 
static constexpr time::milliseconds MIN_PROBING_INTERVAL = 1_s
 

Detailed Description

ASF Probing Module.

Definition at line 47 of file asf-probing-module.hpp.

Member Typedef Documentation

◆ FaceStatsProbingSet

Constructor & Destructor Documentation

◆ ProbingModule()

nfd::fw::asf::ProbingModule::ProbingModule ( AsfMeasurements measurements)
explicit

Definition at line 37 of file asf-probing-module.cpp.

Member Function Documentation

◆ afterForwardingProbe()

void nfd::fw::asf::ProbingModule::afterForwardingProbe ( const fib::Entry fibEntry,
const Name &  interestName 
)

Definition at line 202 of file asf-probing-module.cpp.

◆ getFaceToProbe()

Face * nfd::fw::asf::ProbingModule::getFaceToProbe ( const Face inFace,
const Interest &  interest,
const fib::Entry fibEntry,
const Face faceUsed 
)

Definition at line 142 of file asf-probing-module.cpp.

◆ getProbingInterval()

time::milliseconds nfd::fw::asf::ProbingModule::getProbingInterval ( ) const
inline

Definition at line 70 of file asf-probing-module.hpp.

◆ isProbingNeeded()

bool nfd::fw::asf::ProbingModule::isProbingNeeded ( const fib::Entry fibEntry,
const Name &  interestName 
)

Definition at line 183 of file asf-probing-module.cpp.

◆ scheduleProbe()

void nfd::fw::asf::ProbingModule::scheduleProbe ( const fib::Entry fibEntry,
time::milliseconds  interval 
)

Definition at line 44 of file asf-probing-module.cpp.

◆ setProbingInterval()

void nfd::fw::asf::ProbingModule::setProbingInterval ( time::milliseconds  probingInterval)

Definition at line 213 of file asf-probing-module.cpp.

Member Data Documentation

◆ DEFAULT_PROBING_INTERVAL

constexpr time::milliseconds nfd::fw::asf::ProbingModule::DEFAULT_PROBING_INTERVAL = 1_min
staticconstexpr

Definition at line 76 of file asf-probing-module.hpp.

◆ MIN_PROBING_INTERVAL

constexpr time::milliseconds nfd::fw::asf::ProbingModule::MIN_PROBING_INTERVAL = 1_s
staticconstexpr

Definition at line 77 of file asf-probing-module.hpp.