26 #ifndef NFD_DAEMON_FW_RANDOM_STRATEGY_HPP 27 #define NFD_DAEMON_FW_RANDOM_STRATEGY_HPP 51 const shared_ptr<pit::Entry>& pitEntry)
override;
55 const shared_ptr<pit::Entry>& pitEntry)
override;
64 #endif // NFD_DAEMON_FW_RANDOM_STRATEGY_HPP Main class of NFD's forwarding engine.
void afterReceiveInterest(const FaceEndpoint &ingress, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after Interest is received.
A forwarding strategy that randomly chooses a nexthop.
Represents a face-endpoint pair in the forwarder.
void afterReceiveNack(const FaceEndpoint &ingress, const lp::Nack &nack, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after Nack is received.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
RandomStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
Represents a forwarding strategy.
static const Name & getStrategyName()