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 53 of file nack.hpp.
Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack(), nfd::Forwarder::Forwarder(), ns3::ndn::L3RateTracer::InNack(), face::Face::Impl::nackPendingInterests(), ns3::ndn::L3RateTracer::OutNack(), nfd::fw::ProcessNackTraitsBase::processNack(), ndn::Face::put(), ndn::util::DummyClientFace::receive(), nfd::pit::OutRecord::setIncomingNack(), nfd::face::GenericLinkService::setOptions(), and ndn::util::NotificationSubscriberBase::stop().
|
inline |
Definition at line 65 of file nack.hpp.
Referenced by ndn::Face::put(), ndn::util::DummyClientFace::receive(), nfd::pit::OutRecord::setIncomingNack(), and nfd::face::GenericLinkService::setOptions().
|
inline |
|
inline |
Definition at line 77 of file nack.hpp.
Referenced by nfd::Forwarder::Forwarder(), and nfd::face::GenericLinkService::setOptions().
|
inline |
|
inline |
Definition at line 92 of file nack.hpp.
References ndn::lp::NackHeader::getReason().
Referenced by nfd::fw::asf::AsfStrategy::afterReceiveNack(), ndn::security::v2::CertificateFetcherFromNetwork::doFetch(), ndn::security::v2::CertificateBundleFetcher::doFetch(), ndn::util::SegmentFetcher::fetch(), nfd::Forwarder::Forwarder(), nfd::fw::ProcessNackTraitsBase::processNack(), and ndn::PendingInterest::recordNack().
|
inline |
Definition at line 98 of file nack.hpp.
References ndn::lp::NackHeader::setReason().