represents a Network Nack More...
#include <nack.hpp>
Inheritance diagram for ndn::lp::Nack:
Collaboration diagram for ndn::lp::Nack:Public Member Functions | |
| Nack () | |
| Nack (const Interest &interest) | |
| Nack (Interest &&interest) | |
| uint64_t | getCongestionMark () const |
| get the value of the CongestionMark tag More... | |
| const NackHeader & | getHeader () const |
| NackHeader & | getHeader () |
| const Interest & | getInterest () const |
| Interest & | getInterest () |
| NackReason | getReason () const |
| template<typename T > | |
| shared_ptr< T > | getTag () const |
| get a tag item More... | |
| template<typename T > | |
| void | removeTag () const |
| remove tag item More... | |
| void | setCongestionMark (uint64_t mark) |
| set the CongestionMark tag to the specified value More... | |
| Nack & | setHeader (const NackHeader &header) |
| Nack & | setHeader (NackHeader &&header) |
| Nack & | setReason (NackReason reason) |
| template<typename T > | |
| void | setTag (shared_ptr< T > tag) const |
| set a tag item More... | |
represents a Network Nack
This type binds a NackHeader and an Interest, and is intended for use in network layer.
|
default |
|
inherited |
get the value of the CongestionMark tag
Definition at line 28 of file packet-base.cpp.
|
inline |
|
inline |
|
inline |
|
inherited |
get a tag item
| T | type of the tag, which must be a subclass of ndn::Tag |
| nullptr | if no Tag of type T is stored |
Definition at line 66 of file tag-host.hpp.
|
inherited |
remove tag item
Definition at line 93 of file tag-host.hpp.
|
inherited |
set the CongestionMark tag to the specified value
Definition at line 41 of file packet-base.cpp.
|
inline |
|
inline |
|
inline |
|
inherited |
set a tag item
| T | type of the tag, which must be a subclass of ndn::Tag |
Definition at line 79 of file tag-host.hpp.