Represents an item in NFD Face dataset. More...
#include <ndn-cxx/mgmt/nfd/face-status.hpp>
Public Member Functions | |
FaceStatus () | |
FaceStatus (const Block &block) | |
time::nanoseconds | getBaseCongestionMarkingInterval () const |
uint64_t | getDefaultCongestionThreshold () const |
Get default congestion threshold (measured in bytes). More... | |
time::milliseconds | getExpirationPeriod () const |
uint64_t | getFaceId () const |
FacePersistency | getFacePersistency () const |
FaceScope | getFaceScope () const |
bool | getFlagBit (size_t bit) const |
uint64_t | getFlags () const |
LinkType | getLinkType () const |
const std::string & | getLocalUri () const |
uint64_t | getMtu () const |
Get MTU (measured in bytes). More... | |
uint64_t | getNInBytes () const |
uint64_t | getNInData () const |
uint64_t | getNInInterests () const |
uint64_t | getNInNacks () const |
uint64_t | getNOutBytes () const |
uint64_t | getNOutData () const |
uint64_t | getNOutInterests () const |
uint64_t | getNOutNacks () const |
const std::string & | getRemoteUri () const |
bool | hasBaseCongestionMarkingInterval () const |
bool | hasDefaultCongestionThreshold () const |
bool | hasExpirationPeriod () const |
bool | hasMtu () const |
FaceStatus & | setBaseCongestionMarkingInterval (time::nanoseconds interval) |
FaceStatus & | setDefaultCongestionThreshold (uint64_t threshold) |
Set default congestion threshold (measured in bytes). More... | |
FaceStatus & | setExpirationPeriod (time::milliseconds expirationPeriod) |
FaceStatus & | setFaceId (uint64_t faceId) |
FaceStatus & | setFacePersistency (FacePersistency facePersistency) |
FaceStatus & | setFaceScope (FaceScope faceScope) |
FaceStatus & | setFlagBit (size_t bit, bool value) |
FaceStatus & | setFlags (uint64_t flags) |
FaceStatus & | setLinkType (LinkType linkType) |
FaceStatus & | setLocalUri (const std::string &localUri) |
FaceStatus & | setMtu (uint64_t mtu) |
Set MTU (measured in bytes). More... | |
FaceStatus & | setNInBytes (uint64_t nInBytes) |
FaceStatus & | setNInData (uint64_t nInData) |
FaceStatus & | setNInInterests (uint64_t nInInterests) |
FaceStatus & | setNInNacks (uint64_t nInNacks) |
FaceStatus & | setNOutBytes (uint64_t nOutBytes) |
FaceStatus & | setNOutData (uint64_t nOutData) |
FaceStatus & | setNOutInterests (uint64_t nOutInterests) |
FaceStatus & | setNOutNacks (uint64_t nOutNacks) |
FaceStatus & | setRemoteUri (const std::string &remoteUri) |
FaceStatus & | unsetBaseCongestionMarkingInterval () |
FaceStatus & | unsetDefaultCongestionThreshold () |
FaceStatus & | unsetExpirationPeriod () |
FaceStatus & | unsetMtu () |
void | wireDecode (const Block &wire) |
Decode FaceStatus. More... | |
const Block & | wireEncode () const |
Encode FaceStatus. More... | |
template<encoding::Tag TAG> | |
size_t | wireEncode (EncodingImpl< TAG > &encoder) const |
Prepend FaceStatus to the encoder. More... | |
Protected Attributes | |
uint64_t | m_faceId |
FacePersistency | m_facePersistency |
FaceScope | m_faceScope |
uint64_t | m_flags |
LinkType | m_linkType |
std::string | m_localUri |
std::string | m_remoteUri |
Block | m_wire |
Represents an item in NFD Face dataset.
Definition at line 37 of file face-status.hpp.
|
default |
|
explicit |
Definition at line 32 of file face-status.cpp.
|
inline |
Definition at line 88 of file face-status.hpp.
|
inline |
Get default congestion threshold (measured in bytes).
Definition at line 109 of file face-status.hpp.
|
inline |
Definition at line 69 of file face-status.hpp.
|
inlineinherited |
Definition at line 46 of file face-traits.hpp.
|
inlineinherited |
Definition at line 102 of file face-traits.hpp.
|
inlineinherited |
Definition at line 88 of file face-traits.hpp.
|
inlineinherited |
Definition at line 144 of file face-traits.hpp.
|
inlineinherited |
Definition at line 130 of file face-traits.hpp.
|
inlineinherited |
Definition at line 116 of file face-traits.hpp.
|
inlineinherited |
Definition at line 74 of file face-traits.hpp.
|
inline |
Get MTU (measured in bytes).
This value is capped at MAX_NDN_PACKET_SIZE, even if the MTU of the face is unlimited.
Definition at line 134 of file face-status.hpp.
|
inline |
Definition at line 205 of file face-status.hpp.
|
inline |
Definition at line 160 of file face-status.hpp.
|
inline |
Definition at line 151 of file face-status.hpp.
|
inline |
Definition at line 169 of file face-status.hpp.
|
inline |
Definition at line 214 of file face-status.hpp.
|
inline |
Definition at line 187 of file face-status.hpp.
|
inline |
Definition at line 178 of file face-status.hpp.
|
inline |
Definition at line 196 of file face-status.hpp.
|
inlineinherited |
Definition at line 60 of file face-traits.hpp.
|
inline |
Definition at line 82 of file face-status.hpp.
|
inline |
Definition at line 101 of file face-status.hpp.
|
inline |
Definition at line 63 of file face-status.hpp.
|
inline |
Definition at line 124 of file face-status.hpp.
FaceStatus & ndn::nfd::FaceStatus::setBaseCongestionMarkingInterval | ( | time::nanoseconds | interval | ) |
Definition at line 278 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setDefaultCongestionThreshold | ( | uint64_t | threshold | ) |
Set default congestion threshold (measured in bytes).
Definition at line 294 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setExpirationPeriod | ( | time::milliseconds | expirationPeriod | ) |
Definition at line 262 of file face-status.cpp.
|
inlineinherited |
Definition at line 52 of file face-traits.hpp.
|
inlineinherited |
Definition at line 108 of file face-traits.hpp.
|
inlineinherited |
Definition at line 94 of file face-traits.hpp.
|
inlineinherited |
Definition at line 153 of file face-traits.hpp.
|
inlineinherited |
Definition at line 136 of file face-traits.hpp.
|
inlineinherited |
Definition at line 122 of file face-traits.hpp.
|
inlineinherited |
Definition at line 80 of file face-traits.hpp.
FaceStatus & ndn::nfd::FaceStatus::setMtu | ( | uint64_t | mtu | ) |
Set MTU (measured in bytes).
This value is capped at MAX_NDN_PACKET_SIZE, even if the MTU of the face is unlimited.
Definition at line 310 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setNInBytes | ( | uint64_t | nInBytes | ) |
Definition at line 374 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setNInData | ( | uint64_t | nInData | ) |
Definition at line 334 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setNInInterests | ( | uint64_t | nInInterests | ) |
Definition at line 326 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setNInNacks | ( | uint64_t | nInNacks | ) |
Definition at line 342 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setNOutBytes | ( | uint64_t | nOutBytes | ) |
Definition at line 382 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setNOutData | ( | uint64_t | nOutData | ) |
Definition at line 358 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setNOutInterests | ( | uint64_t | nOutInterests | ) |
Definition at line 350 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::setNOutNacks | ( | uint64_t | nOutNacks | ) |
Definition at line 366 of file face-status.cpp.
|
inlineinherited |
Definition at line 66 of file face-traits.hpp.
FaceStatus & ndn::nfd::FaceStatus::unsetBaseCongestionMarkingInterval | ( | ) |
Definition at line 286 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::unsetDefaultCongestionThreshold | ( | ) |
Definition at line 302 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::unsetExpirationPeriod | ( | ) |
Definition at line 270 of file face-status.cpp.
FaceStatus & ndn::nfd::FaceStatus::unsetMtu | ( | ) |
Definition at line 318 of file face-status.cpp.
void ndn::nfd::FaceStatus::wireDecode | ( | const Block & | wire | ) |
Decode FaceStatus.
Definition at line 98 of file face-status.cpp.
const Block & ndn::nfd::FaceStatus::wireEncode | ( | ) | const |
Encode FaceStatus.
Definition at line 82 of file face-status.cpp.
size_t ndn::nfd::FaceStatus::wireEncode | ( | EncodingImpl< TAG > & | encoder | ) | const |
Prepend FaceStatus to the encoder.
Definition at line 39 of file face-status.cpp.
|
protectedinherited |
Definition at line 175 of file face-traits.hpp.
|
protectedinherited |
Definition at line 179 of file face-traits.hpp.
|
protectedinherited |
Definition at line 178 of file face-traits.hpp.
|
protectedinherited |
Definition at line 181 of file face-traits.hpp.
|
protectedinherited |
Definition at line 180 of file face-traits.hpp.
|
protectedinherited |
Definition at line 177 of file face-traits.hpp.
|
protectedinherited |
Definition at line 176 of file face-traits.hpp.
|
mutableprotectedinherited |
Definition at line 183 of file face-traits.hpp.