represents a Network Nack
More...
#include <ndn-cxx/lp/nack.hpp>
represents a Network Nack
This type binds a NackHeader and an Interest, and is intended for use in network layer.
Definition at line 38 of file nack.hpp.
ndn::lp::Nack::Nack |
( |
const Interest & |
interest | ) |
|
|
explicit |
ndn::lp::Nack::Nack |
( |
Interest && |
interest | ) |
|
|
explicit |
uint64_t ndn::PacketBase::getCongestionMark |
( |
| ) |
const |
|
inherited |
get the value of the CongestionMark tag
Definition at line 28 of file packet-base.cpp.
const NackHeader& ndn::lp::Nack::getHeader |
( |
| ) |
const |
|
inline |
const Interest& ndn::lp::Nack::getInterest |
( |
| ) |
const |
|
inline |
Interest& ndn::lp::Nack::getInterest |
( |
| ) |
|
|
inline |
template<typename T >
shared_ptr< T > ndn::TagHost::getTag |
( |
| ) |
const |
|
inherited |
get a tag item
- Template Parameters
-
T | type of the tag, which must be a subclass of ndn::Tag |
- Return values
-
nullptr | if no Tag of type T is stored |
Definition at line 66 of file tag-host.hpp.
template<typename T >
void ndn::TagHost::removeTag |
( |
| ) |
const |
|
inherited |
remove tag item
- Note
- Tag can be removed even on a const tag host instance
Definition at line 93 of file tag-host.hpp.
void ndn::PacketBase::setCongestionMark |
( |
uint64_t |
mark | ) |
|
|
inherited |
set the CongestionMark tag to the specified value
Definition at line 41 of file packet-base.cpp.
template<typename T >
void ndn::TagHost::setTag |
( |
shared_ptr< T > |
tag | ) |
const |
|
inherited |
set a tag item
- Template Parameters
-
T | type of the tag, which must be a subclass of ndn::Tag |
- Note
- Tag can be set even on a const tag host instance
Definition at line 79 of file tag-host.hpp.