22 #ifndef NDN_MGMT_NFD_FORWARDER_STATUS_HPP 23 #define NDN_MGMT_NFD_FORWARDER_STATUS_HPP 25 #include "../../encoding/block.hpp" 26 #include "../../util/time.hpp" 58 template<encoding::Tag TAG>
89 return m_startTimestamp;
98 return m_currentTimestamp;
107 return m_nNameTreeEntries;
116 return m_nFibEntries;
125 return m_nPitEntries;
134 return m_nMeasurementsEntries;
152 return m_nInInterests;
179 return m_nOutInterests;
204 std::string m_nfdVersion;
207 size_t m_nNameTreeEntries;
208 size_t m_nFibEntries;
209 size_t m_nPitEntries;
210 size_t m_nMeasurementsEntries;
212 uint64_t m_nInInterests;
215 uint64_t m_nOutInterests;
216 uint64_t m_nOutDatas;
217 uint64_t m_nOutNacks;
219 mutable Block m_wire;
225 #endif // NDN_MGMT_NFD_FORWARDER_STATUS_HPP uint64_t getNInInterests() const
ForwarderStatus & setNOutDatas(uint64_t nOutDatas)
uint64_t getNOutInterests() const
size_t getNFibEntries() const
represents NFD Forwarder Status
Copyright (c) 2011-2015 Regents of the University of California.
ForwarderStatus & setNFibEntries(size_t nFibEntries)
ForwarderStatus & setNOutNacks(uint64_t nOutNacks)
Error(const std::string &what)
ForwarderStatus & setNInNacks(uint64_t nInNacks)
Class representing a wire element of NDN-TLV packet format.
ForwarderStatus & setNCsEntries(size_t nCsEntries)
uint64_t getNInDatas() const
ForwarderStatus & setNNameTreeEntries(size_t nNameTreeEntries)
uint64_t getNInNacks() const
size_t getNPitEntries() const
const time::system_clock::TimePoint & getStartTimestamp() const
ForwarderStatus & setNInInterests(uint64_t nInInterests)
ForwarderStatus & setStartTimestamp(const time::system_clock::TimePoint &startTimestamp)
Copyright (c) 2011-2015 Regents of the University of California.
uint64_t getNOutDatas() const
ForwarderStatus & setNfdVersion(const std::string &nfdVersion)
ForwarderStatus & setNOutInterests(uint64_t nOutInterests)
ForwarderStatus & setNPitEntries(size_t nPitEntries)
ForwarderStatus & setNInDatas(uint64_t nInDatas)
void wireDecode(const Block &wire)
decode ForwarderStatus from a Content block
size_t getNCsEntries() const
const time::system_clock::TimePoint & getCurrentTimestamp() const
size_t getNMeasurementsEntries() const
ForwarderStatus & setNMeasurementsEntries(size_t nMeasurementsEntries)
ForwarderStatus & setCurrentTimestamp(const time::system_clock::TimePoint ¤tTimestamp)
size_t getNNameTreeEntries() const
const std::string & getNfdVersion() const
represents an error in TLV encoding or decoding
uint64_t getNOutNacks() const
const Block & wireEncode() const
encode ForwarderStatus as a Content block