Represents a fib/remove-nexthop
command.
More...
#include <ndn-cxx/mgmt/nfd/control-command.hpp>
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. More... | |
static void | applyDefaultsToResponse (ResponseParameters ¶ms) |
Apply default values to missing fields in response. More... | |
static Interest | createRequest (Name commandPrefix, const RequestParameters ¶ms) |
Construct request Interest. More... | |
static PartialName | getName () |
Return the command name (module + verb). More... | |
static shared_ptr< mgmt::ControlParametersBase > | parseRequest (const Interest &interest, size_t prefixLen) |
Extract parameters from request Interest. More... | |
static void | validateRequest (const RequestParameters ¶ms) |
Validate request parameters. More... | |
static void | validateResponse (const ResponseParameters ¶ms) |
Validate response parameters. More... | |
Static Public Attributes | |
static const ::ndn::name::Component | module {std::string_view( "fib" )} |
static const ::ndn::name::Component | verb {std::string_view( "remove-nexthop" )} |
Represents a fib/remove-nexthop
command.
Definition at line 355 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 357 of file control-command.hpp.
|
inlinestatic |
Definition at line 357 of file control-command.hpp.