26 #ifndef NFD_DAEMON_FW_RANDOM_STRATEGY_HPP 27 #define NFD_DAEMON_FW_RANDOM_STRATEGY_HPP 53 const shared_ptr<pit::Entry>& pitEntry)
override;
57 const shared_ptr<pit::Entry>& pitEntry)
override;
66 #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
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()