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(), ndn::Face::Impl::asyncPutNack(), ns3::ndn::L3RateTracer::InNack(), ndn::Face::Impl::nackPendingInterests(), ns3::ndn::Consumer::OnNack(), ns3::ndn::L3RateTracer::OutNack(), nfd::fw::ProcessNackTraitsBase::processNack(), ndn::util::DummyClientFace::receive(), and nfd::pit::OutRecord::setIncomingNack().
|
inline |
Definition at line 63 of file nack.hpp.
Referenced by nfd::fw::SelfLearningStrategy::afterReceiveNack(), ndn::Face::Impl::asyncPutNack(), ndn::util::DummyClientFace::receive(), and nfd::pit::OutRecord::setIncomingNack().
|
inline |
|
inline |
|
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::CertificateFetcherFromNetwork::nackCallback(), ns3::ndn::Consumer::OnNack(), nfd::fw::ProcessNackTraitsBase::processNack(), and ndn::PendingInterest::recordNack().
|
inline |
Definition at line 96 of file nack.hpp.
References ndn::lp::NackHeader::setReason().