22 #ifndef NDN_MGMT_NFD_FACE_STATUS_HPP 23 #define NDN_MGMT_NFD_FACE_STATUS_HPP 26 #include "../../util/time.hpp" 46 template<encoding::Tag TAG>
64 return !!m_expirationPeriod;
71 return *m_expirationPeriod;
83 return m_nInInterests;
110 return m_nOutInterests;
154 uint64_t m_nInInterests;
157 uint64_t m_nOutInterests;
159 uint64_t m_nOutNacks;
161 uint64_t m_nOutBytes;
181 #endif // NDN_MGMT_NFD_FACE_STATUS_HPP uint64_t getNInNacks() const
void wireDecode(const Block &wire)
decode FaceStatus
Copyright (c) 2013-2017 Regents of the University of California.
bool operator!=(const ChannelStatus &a, const ChannelStatus &b)
bool hasExpirationPeriod() const
time::milliseconds getExpirationPeriod() const
Represents a TLV element of NDN packet format.
FaceStatus & setNOutBytes(uint64_t nOutBytes)
FaceStatus & setNOutInterests(uint64_t nOutInterests)
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
FaceStatus & setExpirationPeriod(time::milliseconds expirationPeriod)
FaceStatus & setNInInterests(uint64_t nInInterests)
FaceStatus & setNInBytes(uint64_t nInBytes)
FaceStatus & unsetExpirationPeriod()
uint64_t getNInInterests() const
FaceStatus & setNInNacks(uint64_t nInNacks)
FaceStatus & setNOutData(uint64_t nOutData)
bool operator==(const ChannelStatus &a, const ChannelStatus &b)
represents an item in NFD Face dataset
uint64_t getNOutData() const
std::ostream & operator<<(std::ostream &os, FaceScope faceScope)
uint64_t getNOutBytes() const
uint64_t getNOutInterests() const
FaceStatus & setNOutNacks(uint64_t nOutNacks)
uint64_t getNInBytes() const
provides getters and setters for face information fields
uint64_t getNInData() const
FaceStatus & setNInData(uint64_t nInData)
const Block & wireEncode() const
encode FaceStatus
uint64_t getNOutNacks() const