26 #ifndef NFD_DAEMON_FW_ASF_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ASF_STRATEGY_HPP 56 const shared_ptr<pit::Entry>& pitEntry)
override;
60 const Face& inFace,
const Data& data)
override;
64 const shared_ptr<pit::Entry>& pitEntry)
override;
68 forwardInterest(
const Interest& interest,
70 const shared_ptr<pit::Entry>& pitEntry,
72 bool wantNewNonce =
false);
75 getBestFaceForForwarding(
const fib::Entry& fibEntry,
const Interest& interest,
const Face& inFace);
78 onTimeout(
const Name& interestName,
face::FaceId faceId);
81 sendNoRouteNack(
const Face& inFace,
const Interest& interest,
const shared_ptr<pit::Entry>& pitEntry);
90 static const time::milliseconds RETX_SUPPRESSION_INITIAL;
91 static const time::milliseconds RETX_SUPPRESSION_MAX;
101 #endif // NFD_DAEMON_FW_ASF_STRATEGY_HPP
static const Name & getStrategyName()
virtual void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const Face &inFace, const Data &data) override
trigger before PIT entry is satisfied
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
a retransmission suppression decision algorithm that suppresses retransmissions using exponential bac...
represents a forwarding strategy
virtual void afterReceiveNack(const Face &inFace, const lp::Nack &nack, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Nack is received
virtual void afterReceiveInterest(const Face &inFace, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received
uint64_t FaceId
identifies a face
Adaptive SRTT-based Forwarding Strategy.
AsfStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
Helper class to retrieve and create strategy measurements.