ControlCommand response. More...
#include <control-response.hpp>
Classes | |
class | Error |
Public Member Functions | |
ControlResponse () | |
ControlResponse (uint32_t code, const std::string &text) | |
ControlResponse (const Block &block) | |
const Block & | getBody () const |
uint32_t | getCode () const |
const std::string & | getText () const |
ControlResponse & | setBody (const Block &body) |
ControlResponse & | setCode (uint32_t code) |
ControlResponse & | setText (const std::string &text) |
void | wireDecode (const Block &block) |
const Block & | wireEncode () const |
Protected Attributes | |
Block | m_body |
uint32_t | m_code |
std::string | m_text |
Block | m_wire |
ControlCommand response.
Definition at line 32 of file control-response.hpp.
ndn::mgmt::ControlResponse::ControlResponse | ( | ) |
Definition at line 35 of file control-response.cpp.
ndn::mgmt::ControlResponse::ControlResponse | ( | uint32_t | code, |
const std::string & | text | ||
) |
Definition at line 40 of file control-response.cpp.
|
explicit |
Definition at line 46 of file control-response.cpp.
|
inline |
Definition at line 113 of file control-response.hpp.
|
inline |
Definition at line 85 of file control-response.hpp.
|
inline |
Definition at line 99 of file control-response.hpp.
|
inline |
Definition at line 119 of file control-response.hpp.
|
inline |
Definition at line 91 of file control-response.hpp.
|
inline |
Definition at line 105 of file control-response.hpp.
void ndn::mgmt::ControlResponse::wireDecode | ( | const Block & | block | ) |
Definition at line 70 of file control-response.cpp.
const Block & ndn::mgmt::ControlResponse::wireEncode | ( | ) | const |
Definition at line 52 of file control-response.cpp.
|
protected |
Definition at line 79 of file control-response.hpp.
|
protected |
Definition at line 77 of file control-response.hpp.
|
protected |
Definition at line 78 of file control-response.hpp.
|
mutableprotected |
Definition at line 81 of file control-response.hpp.