NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::fw::asf::ProbingModule Class Reference

ASF Probing Module. More...

#include <asf-probing-module.hpp>

Collaboration diagram for nfd::fw::asf::ProbingModule:

Public Member Functions

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

Static Public Attributes

static constexpr time::milliseconds DEFAULT_PROBING_INTERVAL = time::milliseconds(60000)
 
static constexpr time::milliseconds MIN_PROBING_INTERVAL = time::milliseconds(1000)
 

Detailed Description

ASF Probing Module.

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

Constructor & Destructor Documentation

◆ ProbingModule()

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

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

Member Function Documentation

◆ scheduleProbe()

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

◆ getFaceToProbe()

◆ isProbingNeeded()

◆ afterForwardingProbe()

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

◆ setProbingInterval()

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

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

References MIN_PROBING_INTERVAL, and ndn::to_string().

◆ getProbingInterval()

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

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

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

Member Data Documentation

◆ DEFAULT_PROBING_INTERVAL

constexpr time::milliseconds nfd::fw::asf::ProbingModule::DEFAULT_PROBING_INTERVAL = time::milliseconds(60000)
static

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

◆ MIN_PROBING_INTERVAL

constexpr time::milliseconds nfd::fw::asf::ProbingModule::MIN_PROBING_INTERVAL = time::milliseconds(1000)
static

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

Referenced by setProbingInterval().


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