represents a Network Nack More...
#include <nack.hpp>
Public Member Functions | |
Nack () | |
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::PacketBase | |
uint64_t | getCongestionMark () const |
get the value of the CongestionMark tag More... | |
void | setCongestionMark (uint64_t mark) |
set the CongestionMark tag to the specified value More... | |
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 51 of file nack.hpp.
Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack(), nfd::fw::SelfLearningStrategy::afterReceiveNack(), ns3::ndn::L3RateTracer::InNack(), ndn::Face::Impl::nackPendingInterests(), nfd::Forwarder::onIncomingNack(), ns3::ndn::L3RateTracer::OutNack(), nfd::fw::ProcessNackTraitsBase::processNack(), ndn::Face::Impl::putNack(), ndn::util::DummyClientFace::receive(), nfd::pit::OutRecord::setIncomingNack(), and ndn::util::NotificationSubscriberBase::stop().
|
inline |
Definition at line 63 of file nack.hpp.
Referenced by nfd::fw::SelfLearningStrategy::afterReceiveNack(), ndn::Face::Impl::putNack(), ndn::util::DummyClientFace::receive(), and nfd::pit::OutRecord::setIncomingNack().
|
inline |
|
inline |
Definition at line 75 of file nack.hpp.
Referenced by nfd::Forwarder::onOutgoingNack().
|
inline |
|
inline |
Definition at line 90 of file nack.hpp.
References ndn::lp::NackHeader::getReason().
Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack(), nfd::fw::SelfLearningStrategy::afterReceiveNack(), ndn::security::v2::CertificateBundleFetcher::doFetch(), ndn::security::v2::CertificateFetcherFromNetwork::nackCallback(), nfd::Forwarder::onIncomingNack(), nfd::fw::ProcessNackTraitsBase::processNack(), ndn::PendingInterest::recordNack(), and ndn::util::SegmentFetcher::stop().
|
inline |
Definition at line 96 of file nack.hpp.
References ndn::lp::NackHeader::setReason().