represents a Network Nack More...
#include <nack.hpp>
Public Member Functions | |
Nack ()=default | |
Nack (const Interest &interest) | |
Nack (Interest &&interest) | |
const Interest & | getInterest () const |
Interest & | getInterest () |
const NackHeader & | getHeader () const |
NackHeader & | getHeader () |
Nack & | setHeader (const NackHeader &header) |
Nack & | setHeader (NackHeader &&header) |
NackReason | getReason () const |
Nack & | setReason (NackReason reason) |
Public Member Functions inherited from ndn::TagHost | |
template<typename T > | |
shared_ptr< T > | getTag () const |
get a tag item More... | |
template<typename T > | |
void | setTag (shared_ptr< T > tag) const |
set a tag item More... | |
template<typename T > | |
void | removeTag () const |
remove tag item More... | |
represents a Network Nack
This type binds a NackHeader and an Interest, and is intended for use in network layer.
|
default |
|
inline |
Definition at line 53 of file nack.hpp.
Referenced by nfd::fw::BestRouteStrategy2::afterReceiveNack(), nfd::face::GenericLinkService::GenericLinkService(), face::Face::Impl::nackPendingInterests(), nfd::pit::OutRecord::setIncomingNack(), and nfd::Forwarder::startProcessNack().
|
inline |
Definition at line 65 of file nack.hpp.
Referenced by nfd::face::GenericLinkService::GenericLinkService(), and nfd::pit::OutRecord::setIncomingNack().
|
inline |
|
inline |
Definition at line 77 of file nack.hpp.
Referenced by nfd::face::GenericLinkService::GenericLinkService(), and nfd::Forwarder::startProcessNack().
|
inline |
|
inline |
Definition at line 92 of file nack.hpp.
References ndn::lp::NackHeader::getReason().
Referenced by nfd::fw::BestRouteStrategy2::afterReceiveNack(), ndn::util::SegmentFetcher::fetch(), and nfd::Forwarder::startProcessNack().
|
inline |
Definition at line 98 of file nack.hpp.
References ndn::lp::NackHeader::setReason().