|
ndn-cxx: NDN C++ Library 0.9.0-33-g832ea91d
|
Represents a fib/add-nexthop command.
More...
#include <ndn-cxx/mgmt/nfd/control-command.hpp>
Inheritance diagram for ndn::nfd::FibAddNextHopCommand:
Collaboration diagram for ndn::nfd::FibAddNextHopCommand:Public Types | |
| using | RequestFormat = ControlParametersCommandFormat |
| using | RequestParameters = typename RequestFormat::ParametersType |
| using | ResponseFormat = ControlParametersCommandFormat |
| using | ResponseParameters = typename ResponseFormat::ParametersType |
Static Public Member Functions | |
| static void | applyDefaultsToRequest (RequestParameters ¶ms) |
| Apply default values to missing fields in request. | |
| static void | applyDefaultsToResponse (ResponseParameters ¶ms) |
| Apply default values to missing fields in response. | |
| static Interest | createRequest (Name commandPrefix, const RequestParameters ¶ms) |
| Construct request Interest. | |
| static PartialName | getName () |
| Return the command name (module + verb). | |
| static shared_ptr< mgmt::ControlParametersBase > | parseRequest (const Interest &interest, size_t prefixLen) |
| Extract parameters from request Interest. | |
| static void | validateRequest (const RequestParameters ¶ms) |
| Validate request parameters. | |
| static void | validateResponse (const ResponseParameters ¶ms) |
| Validate response parameters. | |
Static Public Attributes | |
| static const ::ndn::name::Component | module {std::string_view( "fib" )} |
| static const ::ndn::name::Component | verb {std::string_view( "add-nexthop" )} |
Represents a fib/add-nexthop command.
Definition at line 338 of file control-command.hpp.
|
inherited |
Definition at line 166 of file control-command.hpp.
|
inherited |
Definition at line 168 of file control-command.hpp.
|
inherited |
Definition at line 167 of file control-command.hpp.
|
inherited |
Definition at line 169 of file control-command.hpp.
|
inlinestaticinherited |
Apply default values to missing fields in request.
Definition at line 221 of file control-command.hpp.
|
inlinestaticinherited |
Apply default values to missing fields in response.
Definition at line 241 of file control-command.hpp.
|
inlinestaticinherited |
Construct request Interest.
| ArgumentError | if parameters are invalid |
Definition at line 187 of file control-command.hpp.
|
inlinestaticinherited |
Return the command name (module + verb).
Definition at line 177 of file control-command.hpp.
|
inlinestaticinherited |
Extract parameters from request Interest.
Definition at line 200 of file control-command.hpp.
|
inlinestaticinherited |
Validate request parameters.
| ArgumentError | if parameters are invalid |
Definition at line 211 of file control-command.hpp.
|
inlinestaticinherited |
Validate response parameters.
| ArgumentError | if parameters are invalid |
Definition at line 231 of file control-command.hpp.
|
inlinestatic |
Definition at line 340 of file control-command.hpp.
|
inlinestatic |
Definition at line 340 of file control-command.hpp.