ControlCommand response.
More...
#include <ndn-cxx/mgmt/control-response.hpp>
ControlCommand response.
Definition at line 32 of file control-response.hpp.
◆ ControlResponse() [1/3]
ndn::mgmt::ControlResponse::ControlResponse |
( |
| ) |
|
|
default |
◆ ControlResponse() [2/3]
ndn::mgmt::ControlResponse::ControlResponse |
( |
uint32_t |
code, |
|
|
const std::string & |
text |
|
) |
| |
◆ ControlResponse() [3/3]
ndn::mgmt::ControlResponse::ControlResponse |
( |
const Block & |
block | ) |
|
|
explicit |
◆ getBody()
const Block& ndn::mgmt::ControlResponse::getBody |
( |
| ) |
const |
|
inline |
◆ getCode()
uint32_t ndn::mgmt::ControlResponse::getCode |
( |
| ) |
const |
|
inline |
◆ getText()
const std::string& ndn::mgmt::ControlResponse::getText |
( |
| ) |
const |
|
inline |
◆ setBody()
◆ setCode()
◆ setText()
ControlResponse & ndn::mgmt::ControlResponse::setText |
( |
const std::string & |
text | ) |
|
◆ wireDecode()
void ndn::mgmt::ControlResponse::wireDecode |
( |
const Block & |
block | ) |
|
◆ wireEncode()
const Block & ndn::mgmt::ControlResponse::wireEncode |
( |
| ) |
const |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const ControlResponse & |
response |
|
) |
| |
|
friend |
◆ m_body
Block ndn::mgmt::ControlResponse::m_body |
|
protected |
◆ m_code
uint32_t ndn::mgmt::ControlResponse::m_code = 200 |
|
protected |
◆ m_text
std::string ndn::mgmt::ControlResponse::m_text |
|
protected |
◆ m_wire
Block ndn::mgmt::ControlResponse::m_wire |
|
mutableprotected |