22 #ifndef NDN_MANAGEMENT_NFD_FORWARDER_STATUS_HPP 23 #define NDN_MANAGEMENT_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;
170 return m_nOutInterests;
186 std::string m_nfdVersion;
189 size_t m_nNameTreeEntries;
190 size_t m_nFibEntries;
191 size_t m_nPitEntries;
192 size_t m_nMeasurementsEntries;
194 uint64_t m_nInInterests;
196 uint64_t m_nOutInterests;
197 uint64_t m_nOutDatas;
199 mutable Block m_wire;
205 #endif // NDN_MANAGEMENT_NFD_FORWARDER_STATUS_HPP ForwarderStatus & setNOutDatas(uint64_t nOutDatas)
represents NFD Forwarder Status
Copyright (c) 2011-2015 Regents of the University of California.
size_t getNMeasurementsEntries() const
ForwarderStatus & setNFibEntries(size_t nFibEntries)
Error(const std::string &what)
const time::system_clock::TimePoint & getStartTimestamp() const
const std::string & getNfdVersion() const
size_t getNFibEntries() const
uint64_t getNOutDatas() const
Class representing a wire element of NDN-TLV packet format.
ForwarderStatus & setNCsEntries(size_t nCsEntries)
uint64_t getNInInterests() const
uint64_t getNInDatas() const
size_t getNCsEntries() const
ForwarderStatus & setNNameTreeEntries(size_t nNameTreeEntries)
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 getNOutInterests() const
ForwarderStatus & setNfdVersion(const std::string &nfdVersion)
ForwarderStatus & setNOutInterests(uint64_t nOutInterests)
ForwarderStatus & setNPitEntries(size_t nPitEntries)
size_t getNPitEntries() const
const Block & wireEncode() const
encode ForwarderStatus as a Content block
ForwarderStatus & setNInDatas(uint64_t nInDatas)
void wireDecode(const Block &wire)
decode ForwarderStatus from a Content block
size_t getNNameTreeEntries() const
const time::system_clock::TimePoint & getCurrentTimestamp() const
ForwarderStatus & setNMeasurementsEntries(size_t nMeasurementsEntries)
ForwarderStatus & setCurrentTimestamp(const time::system_clock::TimePoint ¤tTimestamp)
represents an error in TLV encoding or decoding