Contains classes and functions related to the NFD Management protocol. More...
Classes | |
class | ChannelDataset |
Represents a faces/channels dataset. More... | |
class | ChannelStatus |
Represents an item in NFD Channel dataset. More... | |
class | CommandOptions |
Contains options for ControlCommand execution. More... | |
class | ControlCommand |
Base class of NFD ControlCommand . More... | |
class | Controller |
NFD Management protocol client. More... | |
class | ControlParameters |
Represents parameters in a ControlCommand request or response. More... | |
class | CsConfigCommand |
Represents a cs/config command. More... | |
class | CsEraseCommand |
Represents a cs/erase command. More... | |
class | CsInfo |
Represents the CS Information dataset. More... | |
class | CsInfoDataset |
Represents a cs/info dataset. More... | |
class | FaceCreateCommand |
Represents a faces/create command. More... | |
class | FaceDataset |
Represents a faces/list dataset. More... | |
class | FaceDestroyCommand |
Represents a faces/destroy command. More... | |
class | FaceEventNotification |
Represents a Face status change notification. More... | |
class | FaceMonitor |
A subscriber for the Face status change notification stream. More... | |
class | FaceQueryDataset |
Represents a faces/query dataset. More... | |
class | FaceQueryFilter |
Represents Face Query Filter. More... | |
class | FaceStatus |
Represents an item in NFD Face dataset. More... | |
class | FaceTraits |
Provides getters and setters for face information fields. More... | |
class | FaceUpdateCommand |
Represents a faces/update command. More... | |
class | FibAddNextHopCommand |
Represents a fib/add-nexthop command. More... | |
class | FibDataset |
Represents a fib/list dataset. More... | |
class | FibEntry |
class | FibRemoveNextHopCommand |
Represents a fib/remove-nexthop command. More... | |
class | ForwarderGeneralStatusDataset |
Represents a status/general dataset. More... | |
class | ForwarderStatus |
Represents NFD General Status dataset. More... | |
class | NextHopRecord |
class | RibDataset |
Represents a rib/list dataset. More... | |
class | RibEntry |
Represents an item in NFD RIB dataset. More... | |
class | RibRegisterCommand |
Represents a rib/register command. More... | |
class | RibUnregisterCommand |
Represents a rib/unregister command. More... | |
class | Route |
Represents a route in a RibEntry. More... | |
class | RouteFlagsTraits |
Defines getters for each route inheritance flag. More... | |
class | StatusDatasetBase |
Base class of NFD StatusDataset . More... | |
class | StatusDatasetParseError |
Exception raised when the fetched payload cannot be parsed as a StatusDataset. More... | |
class | StrategyChoice |
Represents an item in NFD StrategyChoice dataset. More... | |
class | StrategyChoiceDataset |
Represents a strategy-choice/list dataset. More... | |
class | StrategyChoiceSetCommand |
Represents a strategy-choice/set command. More... | |
class | StrategyChoiceUnsetCommand |
Represents a strategy-choice/set command. More... | |
Typedefs | |
using | CommandFailureCallback = std::function< void(const ControlResponse &)> |
Callback on command failure. More... | |
using | CommandSuccessCallback = std::function< void(const ControlParameters &)> |
Callback on command success. More... | |
using | ControlResponse = mgmt::ControlResponse |
using | DatasetFailureCallback = std::function< void(uint32_t code, const std::string &reason)> |
Callback on dataset retrieval failure. More... | |
template<typename Dataset > | |
using | DatasetSuccessCallback = std::function< void(const std::invoke_result_t< decltype(&Dataset::parseResult), Dataset, ConstBufferPtr > &)> |
Callback on dataset retrieval success. More... | |
Functions | |
template size_t | ChannelStatus ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | ChannelStatus ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | ControlParameters ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | ControlParameters ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | CsInfo ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | CsInfo ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | FaceEventNotification ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | FaceEventNotification ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | FaceQueryFilter ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | FaceQueryFilter ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | FaceStatus ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | FaceStatus ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | FibEntry ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | FibEntry ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | ForwarderStatus ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | ForwarderStatus ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | NextHopRecord ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | NextHopRecord ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
bool | operator!= (const ChannelStatus &a, const ChannelStatus &b) |
bool | operator!= (const CsInfo &a, const CsInfo &b) |
bool | operator!= (const FaceEventNotification &a, const FaceEventNotification &b) |
bool | operator!= (const FaceQueryFilter &a, const FaceQueryFilter &b) |
bool | operator!= (const FaceStatus &a, const FaceStatus &b) |
bool | operator!= (const FibEntry &a, const FibEntry &b) |
bool | operator!= (const ForwarderStatus &a, const ForwarderStatus &b) |
bool | operator!= (const NextHopRecord &a, const NextHopRecord &b) |
bool | operator!= (const RibEntry &a, const RibEntry &b) |
bool | operator!= (const Route &a, const Route &b) |
bool | operator!= (const StrategyChoice &a, const StrategyChoice &b) |
std::ostream & | operator<< (std::ostream &os, const ChannelStatus &status) |
std::ostream & | operator<< (std::ostream &os, const ControlParameters ¶meters) |
std::ostream & | operator<< (std::ostream &os, const CsInfo &csi) |
std::ostream & | operator<< (std::ostream &os, const FaceEventNotification ¬ification) |
std::ostream & | operator<< (std::ostream &os, const FaceQueryFilter &filter) |
std::ostream & | operator<< (std::ostream &os, const FaceStatus &status) |
std::ostream & | operator<< (std::ostream &os, const FibEntry &entry) |
std::ostream & | operator<< (std::ostream &os, const ForwarderStatus &status) |
std::ostream & | operator<< (std::ostream &os, const NextHopRecord &nh) |
std::ostream & | operator<< (std::ostream &os, const RibEntry &entry) |
std::ostream & | operator<< (std::ostream &os, const Route &route) |
std::ostream & | operator<< (std::ostream &os, const StrategyChoice &sc) |
std::ostream & | operator<< (std::ostream &os, FaceEventKind faceEventKind) |
std::ostream & | operator<< (std::ostream &os, FacePersistency facePersistency) |
std::ostream & | operator<< (std::ostream &os, FaceScope faceScope) |
std::ostream & | operator<< (std::ostream &os, LinkType linkType) |
std::ostream & | operator<< (std::ostream &os, RouteFlags routeFlags) |
std::ostream & | operator<< (std::ostream &os, RouteOrigin routeOrigin) |
bool | operator== (const ChannelStatus &a, const ChannelStatus &b) |
bool | operator== (const CsInfo &a, const CsInfo &b) |
bool | operator== (const FaceEventNotification &a, const FaceEventNotification &b) |
bool | operator== (const FaceQueryFilter &a, const FaceQueryFilter &b) |
bool | operator== (const FaceStatus &a, const FaceStatus &b) |
bool | operator== (const FibEntry &a, const FibEntry &b) |
bool | operator== (const ForwarderStatus &a, const ForwarderStatus &b) |
bool | operator== (const NextHopRecord &a, const NextHopRecord &b) |
bool | operator== (const RibEntry &a, const RibEntry &b) |
bool | operator== (const Route &a, const Route &b) |
bool | operator== (const StrategyChoice &a, const StrategyChoice &b) |
std::istream & | operator>> (std::istream &is, RouteOrigin &routeOrigin) |
Extract RouteOrigin from stream. More... | |
template size_t | RibEntry ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | RibEntry ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | Route ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | Route ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
template size_t | StrategyChoice ::wireEncode<::ndn::encoding::EncoderTag > (::ndn::EncodingBuffer &) const |
template size_t | StrategyChoice ::wireEncode<::ndn::encoding::EstimatorTag > (::ndn::EncodingEstimator &) const |
Variables | |
constexpr std::string_view | CONTROL_PARAMETER_FIELD [CONTROL_PARAMETER_UBOUND] |
constexpr uint64_t | INVALID_FACE_ID = 0 |
Contains classes and functions related to the NFD Management protocol.
using ndn::nfd::ControlResponse = typedef mgmt::ControlResponse |
Definition at line 29 of file control-response.hpp.
template size_t ndn::nfd::ChannelStatus ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::ChannelStatus ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::ControlParameters ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::ControlParameters ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::CsInfo ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::CsInfo ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::FaceEventNotification ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::FaceEventNotification ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::FaceQueryFilter ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::FaceQueryFilter ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::FaceStatus ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::FaceStatus ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::FibEntry ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::FibEntry ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::ForwarderStatus ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::ForwarderStatus ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::NextHopRecord ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::NextHopRecord ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
|
inline |
Definition at line 80 of file channel-status.hpp.
Definition at line 144 of file cs-info.hpp.
|
inline |
Definition at line 78 of file face-event-notification.hpp.
|
inline |
Definition at line 224 of file face-query-filter.hpp.
|
inline |
Definition at line 243 of file face-status.hpp.
Definition at line 167 of file fib-entry.hpp.
|
inline |
Definition at line 243 of file forwarder-status.hpp.
|
inline |
Definition at line 88 of file fib-entry.hpp.
Definition at line 219 of file rib-entry.hpp.
Definition at line 135 of file rib-entry.hpp.
|
inline |
Definition at line 91 of file strategy-choice.hpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const ChannelStatus & | status | ||
) |
Definition at line 98 of file channel-status.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const ControlParameters & | parameters | ||
) |
Definition at line 308 of file control-parameters.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const CsInfo & | csi | ||
) |
Definition at line 181 of file cs-info.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const FaceEventNotification & | notification | ||
) |
Definition at line 172 of file face-event-notification.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const FaceQueryFilter & | filter | ||
) |
Definition at line 303 of file face-query-filter.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const FaceStatus & | status | ||
) |
Definition at line 419 of file face-status.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const FibEntry & | entry | ||
) |
Definition at line 252 of file fib-entry.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const ForwarderStatus & | status | ||
) |
Definition at line 373 of file forwarder-status.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const NextHopRecord & | nh | ||
) |
Definition at line 124 of file fib-entry.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const RibEntry & | entry | ||
) |
Definition at line 329 of file rib-entry.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const Route & | route | ||
) |
Definition at line 191 of file rib-entry.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
const StrategyChoice & | sc | ||
) |
Definition at line 124 of file strategy-choice.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
FaceEventKind | faceEventKind | ||
) |
Definition at line 80 of file nfd-constants.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
FacePersistency | facePersistency | ||
) |
Definition at line 48 of file nfd-constants.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
FaceScope | faceScope | ||
) |
Definition at line 34 of file nfd-constants.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
LinkType | linkType | ||
) |
Definition at line 64 of file nfd-constants.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
RouteFlags | routeFlags | ||
) |
Definition at line 171 of file nfd-constants.cpp.
std::ostream & ndn::nfd::operator<< | ( | std::ostream & | os, |
RouteOrigin | routeOrigin | ||
) |
Definition at line 147 of file nfd-constants.cpp.
bool ndn::nfd::operator== | ( | const ChannelStatus & | a, |
const ChannelStatus & | b | ||
) |
Definition at line 93 of file channel-status.cpp.
Definition at line 171 of file cs-info.cpp.
bool ndn::nfd::operator== | ( | const FaceEventNotification & | a, |
const FaceEventNotification & | b | ||
) |
Definition at line 160 of file face-event-notification.cpp.
bool ndn::nfd::operator== | ( | const FaceQueryFilter & | a, |
const FaceQueryFilter & | b | ||
) |
Definition at line 285 of file face-query-filter.cpp.
bool ndn::nfd::operator== | ( | const FaceStatus & | a, |
const FaceStatus & | b | ||
) |
Definition at line 390 of file face-status.cpp.
Definition at line 230 of file fib-entry.cpp.
bool ndn::nfd::operator== | ( | const ForwarderStatus & | a, |
const ForwarderStatus & | b | ||
) |
Definition at line 353 of file forwarder-status.cpp.
bool ndn::nfd::operator== | ( | const NextHopRecord & | a, |
const NextHopRecord & | b | ||
) |
Definition at line 118 of file fib-entry.cpp.
Definition at line 307 of file rib-entry.cpp.
Definition at line 182 of file rib-entry.cpp.
bool ndn::nfd::operator== | ( | const StrategyChoice & | a, |
const StrategyChoice & | b | ||
) |
Definition at line 119 of file strategy-choice.cpp.
std::istream & ndn::nfd::operator>> | ( | std::istream & | is, |
RouteOrigin & | routeOrigin | ||
) |
Extract RouteOrigin from stream.
contains
a valid RouteOrigin as string or numeric value, it is extracted into routeOrigin
; otherwise, routeOrigin
is set to ROUTE_ORIGIN_NONE
, and failbit is set on is
Definition at line 99 of file nfd-constants.cpp.
template size_t ndn::nfd::RibEntry ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::RibEntry ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::Route ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::Route ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
template size_t ndn::nfd::StrategyChoice ::wireEncode<::ndn::encoding::EncoderTag > | ( | ::ndn::EncodingBuffer & | ) | const |
template size_t ndn::nfd::StrategyChoice ::wireEncode<::ndn::encoding::EstimatorTag > | ( | ::ndn::EncodingEstimator & | ) | const |
|
inlineconstexpr |
Definition at line 55 of file control-parameters.hpp.
|
inlineconstexpr |
Definition at line 31 of file nfd-constants.hpp.