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

ASF Probing Module. More...

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

Public Member Functions

 ProbingModule (AsfMeasurements &measurements)
 
void afterForwardingProbe (const fib::Entry &fibEntry, const Interest &interest)
 
Face * getFaceToProbe (const Face &inFace, const Interest &interest, const fib::Entry &fibEntry, const Face &faceUsed)
 
time::milliseconds getProbingInterval () const
 
bool isProbingNeeded (const fib::Entry &fibEntry, const Interest &interest)
 
void scheduleProbe (const fib::Entry &fibEntry, time::milliseconds interval)
 
void setProbingInterval (size_t 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 37 of file asf-probing-module.hpp.

Constructor & Destructor Documentation

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

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

Member Function Documentation

void nfd::fw::asf::ProbingModule::afterForwardingProbe ( const fib::Entry fibEntry,
const Interest &  interest 
)

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

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

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

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

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

bool nfd::fw::asf::ProbingModule::isProbingNeeded ( const fib::Entry fibEntry,
const Interest &  interest 
)

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

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

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

void nfd::fw::asf::ProbingModule::setProbingInterval ( size_t  probingInterval)

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

Member Data Documentation

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

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

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

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