26 #ifndef NFD_DAEMON_FW_NCC_STRATEGY_HPP 27 #define NFD_DAEMON_FW_NCC_STRATEGY_HPP 47 const shared_ptr<pit::Entry>& pitEntry)
override;
51 const Face& inFace,
const Data& data)
override;
144 #endif // NFD_DAEMON_FW_NCC_STRATEGY_HPP static const int ADJUST_PREDICT_UP_SHIFT
void timeoutOnBestFace(weak_ptr< pit::Entry > pitEntryWeak)
best face did not reply within prediction
time::microseconds maxInterval
maximum interval between forwarding to two nexthops except best and previous
weak_ptr< Face > bestFace
weak_ptr< Face > previousFace
static constexpr int getTypeId()
represents a Measurements entry
static const int UPDATE_MEASUREMENTS_N_LEVELS
time::microseconds prediction
virtual void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const Face &inFace, const Data &data) override
trigger before PIT entry is satisfied
#define PUBLIC_WITH_TESTS_ELSE_PROTECTED
scheduler::EventId bestFaceTimeout
timer that expires when best face does not respond within predicted time
static const time::nanoseconds MEASUREMENTS_LIFETIME
StrategyInfo on pit::Entry.
void doPropagate(FaceId inFaceId, weak_ptr< pit::Entry > pitEntryWeak)
propagate to another upstream
shared_ptr< Face > getBestFace()
MeasurementsEntryInfo & getMeasurementsEntryInfo(measurements::Entry *entry)
scheduler::EventId propagateTimer
timer for propagating to another face
void inheritFrom(const MeasurementsEntryInfo &other)
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
static const time::microseconds DEFER_RANGE_WITHOUT_BEST_FACE
contains arbitrary information forwarding strategy places on table entries
NccStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
void updateBestFace(const Face &face)
static const time::microseconds MIN_PREDICTION
a forwarding strategy similar to CCNx 0.7.2
static const int ADJUST_PREDICT_DOWN_SHIFT
represents a forwarding strategy
static const Name & getStrategyName()
static const time::microseconds INITIAL_PREDICTION
StrategyInfo on measurements::Entry.
static const time::microseconds DEFER_FIRST_WITHOUT_BEST_FACE
uint64_t FaceId
identifies a face
static const time::microseconds MAX_PREDICTION
static constexpr int getTypeId()
virtual void afterReceiveInterest(const Face &inFace, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received