Implements decoding, encoding, and validation of control command parameters carried in the ApplicationParameters of the request (Interest packet). More...
#include <ndn-cxx/mgmt/nfd/control-command.hpp>
Public Types | |
using | ParametersType = PT |
Public Member Functions | |
void | validate (const ParametersType &) const |
Does nothing. More... | |
Static Public Member Functions | |
static shared_ptr< ParametersType > | decode (const Interest &interest, size_t prefixLen=0) |
Extract the parameters from the request interest . More... | |
static void | encode (Interest &interest, const ParametersType ¶ms) |
Serialize the parameters into the request interest . More... | |
Implements decoding, encoding, and validation of control command parameters carried in the ApplicationParameters of the request (Interest packet).
Definition at line 112 of file control-command.hpp.
using ndn::nfd::ApplicationParametersCommandFormat< PT >::ParametersType = PT |
Definition at line 115 of file control-command.hpp.
|
inlinestatic |
Extract the parameters from the request interest
.
Definition at line 129 of file control-command.hpp.
|
inlinestatic |
Serialize the parameters into the request interest
.
Definition at line 140 of file control-command.hpp.
|
inline |
Does nothing.
Definition at line 121 of file control-command.hpp.