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;
217 uint64_t m_nOutNacks;
219 mutable Block m_wire;
239 #endif // NDN_MGMT_NFD_FORWARDER_STATUS_HPP represents NFD General Status dataset
Copyright (c) 2013-2017 Regents of the University of California.
size_t getNMeasurementsEntries() const
bool operator!=(const ChannelStatus &a, const ChannelStatus &b)
ForwarderStatus & setNFibEntries(size_t nFibEntries)
ForwarderStatus & setNOutNacks(uint64_t nOutNacks)
Error(const std::string &what)
const time::system_clock::TimePoint & getStartTimestamp() const
const std::string & getNfdVersion() const
ForwarderStatus & setNInData(uint64_t nInData)
size_t getNFibEntries() const
ForwarderStatus & setNOutData(uint64_t nOutData)
ForwarderStatus & setNInNacks(uint64_t nInNacks)
Represents a TLV element of NDN packet format.
ForwarderStatus & setNCsEntries(size_t nCsEntries)
uint64_t getNInNacks() const
uint64_t getNInInterests() const
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
size_t getNCsEntries() const
uint64_t getNOutNacks() const
ForwarderStatus & setNNameTreeEntries(size_t nNameTreeEntries)
ForwarderStatus & setNInInterests(uint64_t nInInterests)
ForwarderStatus & setStartTimestamp(const time::system_clock::TimePoint &startTimestamp)
uint64_t getNOutInterests() const
bool operator==(const ChannelStatus &a, const ChannelStatus &b)
ForwarderStatus & setNfdVersion(const std::string &nfdVersion)
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
ForwarderStatus & setNOutInterests(uint64_t nOutInterests)
ForwarderStatus & setNPitEntries(size_t nPitEntries)
size_t getNPitEntries() const
uint64_t getNInData() const
const Block & wireEncode() const
encode ForwarderStatus as a Content block
void wireDecode(const Block &wire)
decode ForwarderStatus from a Content block
size_t getNNameTreeEntries() const
uint64_t getNOutData() 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