26 #ifndef NFD_DAEMON_FW_BEST_ROUTE_STRATEGY_HPP
27 #define NFD_DAEMON_FW_BEST_ROUTE_STRATEGY_HPP
66 const shared_ptr<pit::Entry>& pitEntry)
override;
70 const shared_ptr<pit::Entry>& pitEntry)
override;
73 std::unique_ptr<RetxSuppressionExponential> m_retxSuppression;
Represents a face-endpoint pair in the forwarder.
Main class of NFD's forwarding engine.
"Best route" forwarding strategy.
BestRouteStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
void afterReceiveNack(const lp::Nack &nack, const FaceEndpoint &ingress, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after a Nack is received.
void afterReceiveInterest(const Interest &interest, const FaceEndpoint &ingress, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after an Interest is received.
static const Name & getStrategyName()
Base class of all forwarding strategies.
#define NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE