26 #ifndef NFD_DAEMON_FW_PROCESS_NACK_TRAITS_HPP 27 #define NFD_DAEMON_FW_PROCESS_NACK_TRAITS_HPP 57 const shared_ptr<pit::Entry>& pitEntry);
61 sendNackForProcessNackTraits(
const shared_ptr<pit::Entry>& pitEntry,
Face& outFace,
62 const lp::NackHeader& header) = 0;
65 sendNacksForProcessNackTraits(
const shared_ptr<pit::Entry>& pitEntry,
66 const lp::NackHeader& header) = 0;
75 : m_strategy(strategy)
81 sendNackForProcessNackTraits(
const shared_ptr<pit::Entry>& pitEntry,
Face& outFace,
82 const lp::NackHeader& header)
override 84 m_strategy->sendNack(pitEntry, outFace, header);
88 sendNacksForProcessNackTraits(
const shared_ptr<pit::Entry>& pitEntry,
89 const lp::NackHeader& header)
override 91 m_strategy->sendNacks(pitEntry, header);
101 #endif // NFD_DAEMON_FW_PROCESS_NACK_TRAITS_HPP Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
virtual ~ProcessNackTraitsBase()=default
provides a common procedure for processing Nacks
generalization of a network interface
void processNack(const Face &inFace, const lp::Nack &nack, const shared_ptr< pit::Entry > &pitEntry)
ProcessNackTraits(S *strategy)