represents NFD Channel Status 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 NFD Channel Status dataset
Definition at line 35 of file channel-status.hpp.
ndn::nfd::ChannelStatus::ChannelStatus | ( | ) |
Definition at line 36 of file channel-status.cpp.
Referenced by ndn::nfd::ChannelStatus::Error::Error().
|
explicit |
Definition at line 40 of file channel-status.cpp.
References wireDecode().
size_t ndn::nfd::ChannelStatus::wireEncode | ( | EncodingImpl< TAG > & | encoder | ) | const |
Definition at line 47 of file channel-status.cpp.
References ndn::tlv::nfd::ChannelStatus, and ndn::tlv::nfd::LocalUri.
Referenced by nfd::FaceManager::setConfigFile().
const Block & ndn::nfd::ChannelStatus::wireEncode | ( | ) | const |
Definition at line 66 of file channel-status.cpp.
References ndn::Block::hasWire().
Referenced by ndn::nfd::ChannelStatus::Error::Error().
void ndn::nfd::ChannelStatus::wireDecode | ( | const Block & | wire | ) |
Definition at line 82 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(), and ndn::Block::type().
Referenced by ChannelStatus(), and ndn::nfd::ChannelStatus::Error::Error().
|
inline |
Definition at line 65 of file channel-status.hpp.
References setLocalUri().
ChannelStatus & ndn::nfd::ChannelStatus::setLocalUri | ( | const std::string | localUri | ) |
Definition at line 101 of file channel-status.cpp.
References ndn::Block::reset().
Referenced by getLocalUri(), and nfd::FaceManager::setConfigFile().