Represents the CS Information dataset.
More...
#include <ndn-cxx/mgmt/nfd/cs-info.hpp>
◆ CsInfo() [1/2]
ndn::nfd::CsInfo::CsInfo |
( |
| ) |
|
|
default |
◆ CsInfo() [2/2]
ndn::nfd::CsInfo::CsInfo |
( |
const Block & |
block | ) |
|
|
explicit |
◆ getCapacity()
uint64_t ndn::nfd::CsInfo::getCapacity |
( |
| ) |
const |
|
inline |
Get CS capacity (in number of packets).
Definition at line 63 of file cs-info.hpp.
◆ getEnableAdmit()
bool ndn::nfd::CsInfo::getEnableAdmit |
( |
| ) |
const |
|
inline |
Get CS_ENABLE_ADMIT
flag.
Definition at line 74 of file cs-info.hpp.
◆ getEnableServe()
bool ndn::nfd::CsInfo::getEnableServe |
( |
| ) |
const |
|
inline |
Get CS_ENABLE_SERVE
flag.
Definition at line 85 of file cs-info.hpp.
◆ getNEntries()
uint64_t ndn::nfd::CsInfo::getNEntries |
( |
| ) |
const |
|
inline |
Get number of stored CS entries.
Definition at line 96 of file cs-info.hpp.
◆ getNHits()
uint64_t ndn::nfd::CsInfo::getNHits |
( |
| ) |
const |
|
inline |
Get number of CS lookup hits since NFD started.
Definition at line 107 of file cs-info.hpp.
◆ getNMisses()
uint64_t ndn::nfd::CsInfo::getNMisses |
( |
| ) |
const |
|
inline |
Get number of CS lookup misses since NFD started.
Definition at line 118 of file cs-info.hpp.
◆ setCapacity()
CsInfo & ndn::nfd::CsInfo::setCapacity |
( |
uint64_t |
capacity | ) |
|
◆ setEnableAdmit()
CsInfo & ndn::nfd::CsInfo::setEnableAdmit |
( |
bool |
enableAdmit | ) |
|
◆ setEnableServe()
CsInfo & ndn::nfd::CsInfo::setEnableServe |
( |
bool |
enableServe | ) |
|
◆ setNEntries()
CsInfo & ndn::nfd::CsInfo::setNEntries |
( |
uint64_t |
nEntries | ) |
|
◆ setNHits()
CsInfo & ndn::nfd::CsInfo::setNHits |
( |
uint64_t |
nHits | ) |
|
◆ setNMisses()
CsInfo & ndn::nfd::CsInfo::setNMisses |
( |
uint64_t |
nMisses | ) |
|
◆ wireDecode()
void ndn::nfd::CsInfo::wireDecode |
( |
const Block & |
wire | ) |
|
◆ wireEncode() [1/2]
const Block & ndn::nfd::CsInfo::wireEncode |
( |
| ) |
const |
◆ wireEncode() [2/2]
template<encoding::Tag TAG>
size_t ndn::nfd::CsInfo::wireEncode |
( |
EncodingImpl< TAG > & |
encoder | ) |
const |