|
ndn-cxx: NDN C++ Library 0.9.0-33-g832ea91d
|
Classes and data structures to manage an NDN forwarder. More...
Classes | |
| class | ndn::nfd::ApplicationParametersCommandFormat< PT > |
| Implements decoding, encoding, and validation of control command parameters carried in the ApplicationParameters of the request (Interest packet). More... | |
| class | ndn::nfd::ArgumentError |
| Represents an error in the parameters of the control command request or response. More... | |
| class | ndn::nfd::ChannelDataset |
Represents a faces/channels dataset. More... | |
| class | ndn::nfd::ChannelStatus |
| Represents an item in NFD Channel dataset. More... | |
| class | ndn::nfd::CommandOptions |
| Contains options for ControlCommand execution. More... | |
| class | ndn::nfd::ControlCommand< Derived, RequestFormatType, ResponseFormatType > |
| Base class for all NFD control commands. More... | |
| class | ndn::nfd::Controller |
| NFD Management protocol client. More... | |
| class | ndn::nfd::ControlParameters |
| Represents parameters in a ControlCommand request or response. More... | |
| class | ndn::nfd::ControlParametersCommandFormat |
| Implements decoding, encoding, and validation of ControlParameters in control commands. More... | |
| class | ndn::nfd::CsConfigCommand |
Represents a cs/config command. More... | |
| class | ndn::nfd::CsEraseCommand |
Represents a cs/erase command. More... | |
| class | ndn::nfd::CsInfo |
| Represents the CS Information dataset. More... | |
| class | ndn::nfd::CsInfoDataset |
Represents a cs/info dataset. More... | |
| class | ndn::nfd::StrategyChoice::Error |
| class | ndn::nfd::RibEntry::Error |
| class | ndn::nfd::Route::Error |
| class | ndn::nfd::ForwarderStatus::Error |
| class | ndn::nfd::FibEntry::Error |
| class | ndn::nfd::NextHopRecord::Error |
| class | ndn::nfd::FaceTraits< C >::Error |
| class | ndn::nfd::FaceQueryFilter::Error |
| class | ndn::nfd::CsInfo::Error |
| class | ndn::nfd::ChannelStatus::Error |
| class | ndn::nfd::ControlParameters::Error |
| class | ndn::nfd::RibAnnounceParameters::Error |
| class | ndn::nfd::FaceCreateCommand |
Represents a faces/create command. More... | |
| class | ndn::nfd::FaceDataset |
Represents a faces/list dataset. More... | |
| class | ndn::nfd::FaceDestroyCommand |
Represents a faces/destroy command. More... | |
| class | ndn::nfd::FaceEventNotification |
| Represents a Face status change notification. More... | |
| class | ndn::nfd::FaceQueryDataset |
Represents a faces/query dataset. More... | |
| class | ndn::nfd::FaceQueryFilter |
| Represents Face Query Filter. More... | |
| class | ndn::nfd::FaceStatus |
| Represents an item in NFD Face dataset. More... | |
| class | ndn::nfd::FaceTraits< C > |
| Provides getters and setters for face information fields. More... | |
| class | ndn::nfd::FaceUpdateCommand |
Represents a faces/update command. More... | |
| class | ndn::nfd::FibAddNextHopCommand |
Represents a fib/add-nexthop command. More... | |
| class | ndn::nfd::FibDataset |
Represents a fib/list dataset. More... | |
| class | ndn::nfd::FibEntry |
| class | ndn::nfd::FibRemoveNextHopCommand |
Represents a fib/remove-nexthop command. More... | |
| class | ndn::nfd::ForwarderGeneralStatusDataset |
Represents a status/general dataset. More... | |
| class | ndn::nfd::ForwarderStatus |
| Represents NFD General Status dataset. More... | |
| class | ndn::nfd::NextHopRecord |
| class | ndn::nfd::RibAnnounceCommand |
Represents a rib/announce command. More... | |
| class | ndn::nfd::RibAnnounceParameters |
Request parameters for rib/announce command. More... | |
| class | ndn::nfd::RibDataset |
Represents a rib/list dataset. More... | |
| class | ndn::nfd::RibEntry |
| Represents an item in NFD RIB dataset. More... | |
| class | ndn::nfd::RibRegisterCommand |
Represents a rib/register command. More... | |
| class | ndn::nfd::RibUnregisterCommand |
Represents a rib/unregister command. More... | |
| class | ndn::nfd::Route |
| Represents a route in a RibEntry. More... | |
| class | ndn::nfd::RouteFlagsTraits< T > |
| Defines getters for each route inheritance flag. More... | |
| class | ndn::nfd::StatusDatasetBase |
Base class of NFD StatusDataset. More... | |
| class | ndn::nfd::StrategyChoice |
| Represents an item in NFD StrategyChoice dataset. More... | |
| class | ndn::nfd::StrategyChoiceDataset |
Represents a strategy-choice/list dataset. More... | |
| class | ndn::nfd::StrategyChoiceSetCommand |
Represents a strategy-choice/set command. More... | |
| class | ndn::nfd::StrategyChoiceUnsetCommand |
Represents a strategy-choice/unset command. More... | |
Typedefs | |
| using | ndn::nfd::CommandFailureCallback = std::function< void(const ControlResponse &)> |
| Callback on command failure. | |
| using | ndn::nfd::CommandSuccessCallback = std::function< void(const ControlParameters &)> |
| Callback on command success. | |
| using | ndn::nfd::DatasetFailureCallback = std::function< void(uint32_t code, const std::string &reason)> |
| Callback on dataset retrieval failure. | |
| template<typename Dataset > | |
| using | ndn::nfd::DatasetSuccessCallback = std::function< void(const std::invoke_result_t< decltype(&Dataset::parseResult), Dataset, ConstBufferPtr > &)> |
| Callback on dataset retrieval success. | |
Classes and data structures to manage an NDN forwarder.
| using ndn::nfd::CommandFailureCallback = typedef std::function<void(const ControlResponse&)> |
Callback on command failure.
Definition at line 57 of file controller.hpp.
| using ndn::nfd::CommandSuccessCallback = typedef std::function<void(const ControlParameters&)> |
Callback on command success.
Definition at line 51 of file controller.hpp.
| using ndn::nfd::DatasetFailureCallback = typedef std::function<void(uint32_t code, const std::string& reason)> |
Callback on dataset retrieval failure.
Definition at line 71 of file controller.hpp.
| using ndn::nfd::DatasetSuccessCallback = typedef std::function<void(const std::invoke_result_t<decltype(&Dataset::parseResult), Dataset, ConstBufferPtr>&)> |
Callback on dataset retrieval success.
Definition at line 64 of file controller.hpp.
Definition at line 38 of file control-parameters.hpp.
| enum ndn::nfd::CsFlagBit |
CS enablement flags.
| Enumerator | |
|---|---|
| BIT_CS_ENABLE_ADMIT | enables the CS to admit new Data |
| BIT_CS_ENABLE_SERVE | enables the CS to satisfy Interests using cached Data |
Definition at line 93 of file nfd-constants.hpp.
| enum ndn::nfd::FaceEventKind : uint8_t |
| Enumerator | |
|---|---|
| FACE_EVENT_NONE | |
| FACE_EVENT_CREATED | face was created |
| FACE_EVENT_DESTROYED | face was destroyed |
| FACE_EVENT_UP | face went UP (from DOWN state) |
| FACE_EVENT_DOWN | face went DOWN (from UP state) |
Definition at line 78 of file nfd-constants.hpp.
Definition at line 70 of file nfd-constants.hpp.
| enum ndn::nfd::FacePersistency : uint8_t |
| Enumerator | |
|---|---|
| FACE_PERSISTENCY_NONE | |
| FACE_PERSISTENCY_PERSISTENT | face is persistent |
| FACE_PERSISTENCY_ON_DEMAND | face is on-demand |
| FACE_PERSISTENCY_PERMANENT | face is permanent |
Definition at line 46 of file nfd-constants.hpp.
| enum ndn::nfd::FaceScope : uint8_t |
| Enumerator | |
|---|---|
| FACE_SCOPE_NONE | |
| FACE_SCOPE_NON_LOCAL | face is non-local |
| FACE_SCOPE_LOCAL | face is local |
Definition at line 35 of file nfd-constants.hpp.
| enum ndn::nfd::LinkType : uint8_t |
| Enumerator | |
|---|---|
| LINK_TYPE_NONE | |
| LINK_TYPE_POINT_TO_POINT | link is point-to-point |
| LINK_TYPE_MULTI_ACCESS | link is multi-access |
| LINK_TYPE_AD_HOC | link is ad hoc |
Definition at line 58 of file nfd-constants.hpp.
| enum ndn::nfd::RouteFlags : uint64_t |
| Enumerator | |
|---|---|
| ROUTE_FLAGS_NONE | |
| ROUTE_FLAG_CHILD_INHERIT | |
| ROUTE_FLAG_CAPTURE | |
Definition at line 124 of file nfd-constants.hpp.
| enum ndn::nfd::RouteOrigin : uint16_t |
| Enumerator | |
|---|---|
| ROUTE_ORIGIN_NONE | |
| ROUTE_ORIGIN_APP | |
| ROUTE_ORIGIN_AUTOREG | |
| ROUTE_ORIGIN_CLIENT | |
| ROUTE_ORIGIN_AUTOCONF | |
| ROUTE_ORIGIN_NLSR | |
| ROUTE_ORIGIN_PREFIXANN | |
| ROUTE_ORIGIN_STATIC | |
Definition at line 100 of file nfd-constants.hpp.