|
NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
|
API Documentation
|
Go to the documentation of this file.
22 #ifndef NDN_MGMT_NFD_FORWARDER_STATUS_HPP
23 #define NDN_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;
250 operator<<(std::ostream& os,
const ForwarderStatus& status);
255 #endif // NDN_MGMT_NFD_FORWARDER_STATUS_HPP
ForwarderStatus & setNInInterests(uint64_t nInInterests)
ForwarderStatus & setNNameTreeEntries(uint64_t nNameTreeEntries)
ForwarderStatus & setNfdVersion(const std::string &nfdVersion)
ForwarderStatus & setNOutInterests(uint64_t nOutInterests)
ForwarderStatus & setNUnsatisfiedInterests(uint64_t nUnsatisfiedInterests)
ForwarderStatus & setNInNacks(uint64_t nInNacks)
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ChannelStatus)
ForwarderStatus & setNPitEntries(uint64_t nPitEntries)
uint64_t getNNameTreeEntries() const
uint64_t getNSatisfiedInterests() const
ForwarderStatus & setNCsEntries(uint64_t nCsEntries)
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
const std::string & getNfdVersion() const
const Block & wireEncode() const
encode ForwarderStatus as a Content block
void wireDecode(const Block &wire)
decode ForwarderStatus from a Content block
ForwarderStatus & setNSatisfiedInterests(uint64_t nSatisfiedInterests)
uint64_t getNInNacks() const
const time::system_clock::TimePoint & getCurrentTimestamp() const
ForwarderStatus & setNMeasurementsEntries(uint64_t nMeasurementsEntries)
uint64_t getNOutData() const
ForwarderStatus & setStartTimestamp(const time::system_clock::TimePoint &startTimestamp)
ForwarderStatus & setNOutData(uint64_t nOutData)
uint64_t getNInData() const
uint64_t getNOutNacks() const
Copyright (c) 2011-2015 Regents of the University of California.
uint64_t getNOutInterests() const
ForwarderStatus & setNInData(uint64_t nInData)
uint64_t getNCsEntries() const
ForwarderStatus & setCurrentTimestamp(const time::system_clock::TimePoint ¤tTimestamp)
ForwarderStatus & setNFibEntries(uint64_t nFibEntries)
uint64_t getNUnsatisfiedInterests() const
Represents a TLV element of NDN packet format.
const time::system_clock::TimePoint & getStartTimestamp() const
uint64_t getNPitEntries() const
bool operator!=(const ChannelStatus &a, const ChannelStatus &b)
bool operator==(const ChannelStatus &a, const ChannelStatus &b)
ForwarderStatus & setNOutNacks(uint64_t nOutNacks)
uint64_t getNInInterests() const
represents an error in TLV encoding or decoding
uint64_t getNMeasurementsEntries() const
uint64_t getNFibEntries() const
Error(const char *expectedType, uint32_t actualType)
represents NFD General Status dataset
Copyright (c) 2011-2015 Regents of the University of California.