22 #ifndef NDN_CXX_MGMT_NFD_FORWARDER_STATUS_HPP
23 #define NDN_CXX_MGMT_NFD_FORWARDER_STATUS_HPP
54 template<encoding::Tag TAG>
85 return m_startTimestamp;
94 return m_currentTimestamp;
103 return m_nNameTreeEntries;
112 return m_nFibEntries;
121 return m_nPitEntries;
130 return m_nMeasurementsEntries;
148 return m_nInInterests;
175 return m_nOutInterests;
202 return m_nSatisfiedInterests;
211 return m_nUnsatisfiedInterests;
218 std::string m_nfdVersion;
221 uint64_t m_nNameTreeEntries;
222 uint64_t m_nFibEntries;
223 uint64_t m_nPitEntries;
224 uint64_t m_nMeasurementsEntries;
225 uint64_t m_nCsEntries;
226 uint64_t m_nInInterests;
229 uint64_t m_nOutInterests;
231 uint64_t m_nOutNacks;
232 uint64_t m_nSatisfiedInterests;
233 uint64_t m_nUnsatisfiedInterests;
235 mutable Block m_wire;
241 operator==(
const ForwarderStatus& a,
const ForwarderStatus& b);
250 operator<<(std::ostream& os,
const ForwarderStatus& status);
Represents a TLV element of the NDN packet format.
Represents NFD General Status dataset.
uint64_t getNPitEntries() const
ForwarderStatus & setNCsEntries(uint64_t nCsEntries)
ForwarderStatus & setNInData(uint64_t nInData)
const std::string & getNfdVersion() const
ForwarderStatus & setNMeasurementsEntries(uint64_t nMeasurementsEntries)
uint64_t getNInNacks() const
ForwarderStatus & setCurrentTimestamp(const time::system_clock::TimePoint ¤tTimestamp)
ForwarderStatus & setNSatisfiedInterests(uint64_t nSatisfiedInterests)
uint64_t getNOutNacks() const
ForwarderStatus & setNInNacks(uint64_t nInNacks)
uint64_t getNMeasurementsEntries() const
uint64_t getNFibEntries() const
const time::system_clock::TimePoint & getStartTimestamp() const
uint64_t getNNameTreeEntries() const
ForwarderStatus & setNfdVersion(const std::string &nfdVersion)
uint64_t getNOutInterests() const
uint64_t getNOutData() const
ForwarderStatus & setNPitEntries(uint64_t nPitEntries)
uint64_t getNUnsatisfiedInterests() const
ForwarderStatus & setNOutInterests(uint64_t nOutInterests)
const Block & wireEncode() const
Encode ForwarderStatus as a Content block.
ForwarderStatus & setNInInterests(uint64_t nInInterests)
ForwarderStatus & setNFibEntries(uint64_t nFibEntries)
uint64_t getNCsEntries() const
ForwarderStatus & setStartTimestamp(const time::system_clock::TimePoint &startTimestamp)
uint64_t getNSatisfiedInterests() const
ForwarderStatus & setNUnsatisfiedInterests(uint64_t nUnsatisfiedInterests)
void wireDecode(const Block &wire)
Decode ForwarderStatus from a Content block.
ForwarderStatus & setNOutNacks(uint64_t nOutNacks)
uint64_t getNInInterests() const
uint64_t getNInData() const
const time::system_clock::TimePoint & getCurrentTimestamp() const
ForwarderStatus & setNOutData(uint64_t nOutData)
ForwarderStatus & setNNameTreeEntries(uint64_t nNameTreeEntries)
Represents an error in TLV encoding or decoding.
Error(const char *expectedType, uint32_t actualType)
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
bool operator!=(const ChannelStatus &a, const ChannelStatus &b)
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
bool operator==(const ChannelStatus &a, const ChannelStatus &b)