Strategy information for each face in a namespace.
More...
#include <daemon/fw/asf-measurements.hpp>
Strategy information for each face in a namespace.
Definition at line 42 of file asf-measurements.hpp.
◆ FaceInfo()
nfd::fw::asf::FaceInfo::FaceInfo |
( |
shared_ptr< const ndn::util::RttEstimator::Options > |
opts | ) |
|
|
inlineexplicit |
◆ cancelTimeout()
void nfd::fw::asf::FaceInfo::cancelTimeout |
( |
const Name & |
prefix | ) |
|
◆ getLastRtt()
time::nanoseconds nfd::fw::asf::FaceInfo::getLastRtt |
( |
| ) |
const |
|
inline |
◆ getNTimeouts()
size_t nfd::fw::asf::FaceInfo::getNTimeouts |
( |
| ) |
const |
|
inline |
◆ getSrtt()
time::nanoseconds nfd::fw::asf::FaceInfo::getSrtt |
( |
| ) |
const |
|
inline |
◆ isTimeoutScheduled()
bool nfd::fw::asf::FaceInfo::isTimeoutScheduled |
( |
| ) |
const |
|
inline |
◆ recordRtt()
void nfd::fw::asf::FaceInfo::recordRtt |
( |
time::nanoseconds |
rtt | ) |
|
|
inline |
◆ recordTimeout()
void nfd::fw::asf::FaceInfo::recordTimeout |
( |
const Name & |
interestName | ) |
|
|
inline |
◆ scheduleTimeout()
time::nanoseconds nfd::fw::asf::FaceInfo::scheduleTimeout |
( |
const Name & |
interestName, |
|
|
ndn::scheduler::EventCallback |
cb |
|
) |
| |
◆ setNTimeouts()
void nfd::fw::asf::FaceInfo::setNTimeouts |
( |
size_t |
nTimeouts | ) |
|
|
inline |
◆ NamespaceInfo
◆ RTT_NO_MEASUREMENT
constexpr time::nanoseconds nfd::fw::asf::FaceInfo::RTT_NO_MEASUREMENT = -1_ns |
|
staticconstexpr |
◆ RTT_TIMEOUT
constexpr time::nanoseconds nfd::fw::asf::FaceInfo::RTT_TIMEOUT = -2_ns |
|
staticconstexpr |