represents an item in NFD Channel dataset More...
#include <channel-status.hpp>
Classes | |
| class | Error |
Public Member Functions | |
| ChannelStatus () | |
| ChannelStatus (const Block &payload) | |
| template<encoding::Tag TAG> | |
| size_t | wireEncode (EncodingImpl< TAG > &encoder) const |
| const Block & | wireEncode () const |
| void | wireDecode (const Block &wire) |
| const std::string & | getLocalUri () const |
| ChannelStatus & | setLocalUri (const std::string localUri) |
represents an item in NFD Channel dataset
Definition at line 35 of file channel-status.hpp.
|
default |
|
explicit |
Definition at line 34 of file channel-status.cpp.
References wireDecode().
| size_t ndn::nfd::ChannelStatus::wireEncode | ( | EncodingImpl< TAG > & | encoder | ) | const |
Definition at line 41 of file channel-status.cpp.
References ndn::tlv::nfd::ChannelStatus, ndn::tlv::nfd::LocalUri, and ndn::encoding::prependStringBlock().
| const Block & ndn::nfd::ChannelStatus::wireEncode | ( | ) | const |
Definition at line 53 of file channel-status.cpp.
References ndn::Block::hasWire().
| void ndn::nfd::ChannelStatus::wireDecode | ( | const Block & | wire | ) |
Definition at line 69 of file channel-status.cpp.
References ndn::tlv::nfd::ChannelStatus, ndn::Block::elements_begin(), ndn::Block::elements_end(), ndn::tlv::nfd::LocalUri, ndn::Block::parse(), ndn::encoding::readString(), and ndn::Block::type().
Referenced by ChannelStatus().
|
inline |
Definition at line 61 of file channel-status.hpp.
Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().
| ChannelStatus & ndn::nfd::ChannelStatus::setLocalUri | ( | const std::string | localUri | ) |
Definition at line 88 of file channel-status.cpp.
References ndn::Block::reset().