represents NFD General Status dataset More...
#include <forwarder-status.hpp>
Classes | |
class | Error |
Public Member Functions | |
ForwarderStatus () | |
ForwarderStatus (const Block &payload) | |
const time::system_clock::TimePoint & | getCurrentTimestamp () const |
size_t | getNCsEntries () const |
const std::string & | getNfdVersion () const |
size_t | getNFibEntries () const |
uint64_t | getNInData () const |
uint64_t | getNInInterests () const |
uint64_t | getNInNacks () const |
size_t | getNMeasurementsEntries () const |
size_t | getNNameTreeEntries () const |
uint64_t | getNOutData () const |
uint64_t | getNOutInterests () const |
uint64_t | getNOutNacks () const |
size_t | getNPitEntries () const |
const time::system_clock::TimePoint & | getStartTimestamp () const |
ForwarderStatus & | setCurrentTimestamp (const time::system_clock::TimePoint ¤tTimestamp) |
ForwarderStatus & | setNCsEntries (size_t nCsEntries) |
ForwarderStatus & | setNfdVersion (const std::string &nfdVersion) |
ForwarderStatus & | setNFibEntries (size_t nFibEntries) |
ForwarderStatus & | setNInData (uint64_t nInData) |
ForwarderStatus & | setNInInterests (uint64_t nInInterests) |
ForwarderStatus & | setNInNacks (uint64_t nInNacks) |
ForwarderStatus & | setNMeasurementsEntries (size_t nMeasurementsEntries) |
ForwarderStatus & | setNNameTreeEntries (size_t nNameTreeEntries) |
ForwarderStatus & | setNOutData (uint64_t nOutData) |
ForwarderStatus & | setNOutInterests (uint64_t nOutInterests) |
ForwarderStatus & | setNOutNacks (uint64_t nOutNacks) |
ForwarderStatus & | setNPitEntries (size_t nPitEntries) |
ForwarderStatus & | setStartTimestamp (const time::system_clock::TimePoint &startTimestamp) |
void | wireDecode (const Block &wire) |
decode ForwarderStatus from a Content block More... | |
template<encoding::Tag TAG> | |
size_t | wireEncode (EncodingImpl< TAG > &encoder) const |
prepend ForwarderStatus as a Content block to the encoder More... | |
const Block & | wireEncode () const |
encode ForwarderStatus as a Content block More... | |
represents NFD General Status dataset
Definition at line 36 of file forwarder-status.hpp.
ndn::nfd::ForwarderStatus::ForwarderStatus | ( | ) |
Definition at line 33 of file forwarder-status.cpp.
|
explicit |
Definition at line 48 of file forwarder-status.cpp.
|
inline |
Definition at line 96 of file forwarder-status.hpp.
|
inline |
Definition at line 141 of file forwarder-status.hpp.
|
inline |
Definition at line 78 of file forwarder-status.hpp.
|
inline |
Definition at line 114 of file forwarder-status.hpp.
|
inline |
Definition at line 159 of file forwarder-status.hpp.
|
inline |
Definition at line 150 of file forwarder-status.hpp.
|
inline |
Definition at line 168 of file forwarder-status.hpp.
|
inline |
Definition at line 132 of file forwarder-status.hpp.
|
inline |
Definition at line 105 of file forwarder-status.hpp.
|
inline |
Definition at line 186 of file forwarder-status.hpp.
|
inline |
Definition at line 177 of file forwarder-status.hpp.
|
inline |
Definition at line 195 of file forwarder-status.hpp.
|
inline |
Definition at line 123 of file forwarder-status.hpp.
|
inline |
Definition at line 87 of file forwarder-status.hpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setCurrentTimestamp | ( | const time::system_clock::TimePoint & | currentTimestamp | ) |
Definition at line 239 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNCsEntries | ( | size_t | nCsEntries | ) |
Definition at line 279 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNfdVersion | ( | const std::string & | nfdVersion | ) |
Definition at line 223 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNFibEntries | ( | size_t | nFibEntries | ) |
Definition at line 255 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNInData | ( | uint64_t | nInData | ) |
Definition at line 295 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNInInterests | ( | uint64_t | nInInterests | ) |
Definition at line 287 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNInNacks | ( | uint64_t | nInNacks | ) |
Definition at line 303 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNMeasurementsEntries | ( | size_t | nMeasurementsEntries | ) |
Definition at line 271 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNNameTreeEntries | ( | size_t | nNameTreeEntries | ) |
Definition at line 247 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNOutData | ( | uint64_t | nOutData | ) |
Definition at line 319 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNOutInterests | ( | uint64_t | nOutInterests | ) |
Definition at line 311 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNOutNacks | ( | uint64_t | nOutNacks | ) |
Definition at line 327 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setNPitEntries | ( | size_t | nPitEntries | ) |
Definition at line 263 of file forwarder-status.cpp.
ForwarderStatus & ndn::nfd::ForwarderStatus::setStartTimestamp | ( | const time::system_clock::TimePoint & | startTimestamp | ) |
Definition at line 231 of file forwarder-status.cpp.
void ndn::nfd::ForwarderStatus::wireDecode | ( | const Block & | wire | ) |
decode ForwarderStatus from a Content block
The outermost Content element isn't part of ForwarderStatus structure.
Definition at line 100 of file forwarder-status.cpp.
size_t ndn::nfd::ForwarderStatus::wireEncode | ( | EncodingImpl< TAG > & | encoder | ) | const |
prepend ForwarderStatus as a Content block to the encoder
The outermost Content element isn't part of ForwarderStatus structure.
Definition at line 55 of file forwarder-status.cpp.
const Block & ndn::nfd::ForwarderStatus::wireEncode | ( | ) | const |
encode ForwarderStatus as a Content block
The outermost Content element isn't part of ForwarderStatus structure.
Definition at line 84 of file forwarder-status.cpp.