26 #ifndef NFD_DAEMON_FW_ASF_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ASF_STRATEGY_HPP 58 const shared_ptr<pit::Entry>& pitEntry)
override;
66 const shared_ptr<pit::Entry>& pitEntry)
override;
70 forwardInterest(
const Interest& interest,
72 const shared_ptr<pit::Entry>& pitEntry,
74 bool wantNewNonce =
false);
77 sendAsfProbe(
const FaceEndpoint& ingress,
const Interest& interest,
78 const shared_ptr<pit::Entry>& pitEntry,
const Face& faceToUse,
82 getBestFaceForForwarding(
const fib::Entry& fibEntry,
const Interest& interest,
83 const Face& inFace,
const shared_ptr<pit::Entry>& pitEntry,
84 bool isNewInterest =
true);
87 onTimeout(
const Name& interestName,
const FaceId faceId);
90 sendNoRouteNack(
const FaceEndpoint& ingress,
const Interest& interest,
const shared_ptr<pit::Entry>& pitEntry);
93 processParams(
const PartialName& parsed);
96 getParamValue(
const std::string& param,
const std::string& value);
101 size_t m_maxSilentTimeouts;
106 static const time::milliseconds RETX_SUPPRESSION_INITIAL;
107 static const time::milliseconds RETX_SUPPRESSION_MAX;
117 #endif // NFD_DAEMON_FW_ASF_STRATEGY_HPP
Main class of NFD forwarding engine.
static const Name & getStrategyName()
void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const FaceEndpoint &ingress, const Data &data) override
trigger before PIT entry is satisfied
void afterReceiveNack(const FaceEndpoint &ingress, const lp::Nack &nack, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Nack is received
Represents a face-endpoint pair in the forwarder.
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
uint64_t FaceId
identifies a face
void afterReceiveInterest(const FaceEndpoint &ingress, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received
Adaptive SRTT-based Forwarding Strategy.
AsfStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
Helper class to retrieve and create strategy measurements.