ndn::nfd::ChannelStatus Class Reference

represents an item in NFD Channel dataset More...

#include <channel-status.hpp>

Classes

class  Error
 

Public Member Functions

 ChannelStatus ()
 
 ChannelStatus (const Block &payload)
 
const std::string & getLocalUri () const
 
ChannelStatussetLocalUri (const std::string localUri)
 
void wireDecode (const Block &wire)
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &encoder) const
 
const BlockwireEncode () const
 

Detailed Description

represents an item in NFD Channel dataset

See also
https://redmine.named-data.net/projects/nfd/wiki/FaceMgmt#Channel-Dataset

Definition at line 35 of file channel-status.hpp.

Constructor & Destructor Documentation

ndn::nfd::ChannelStatus::ChannelStatus ( )
default
ndn::nfd::ChannelStatus::ChannelStatus ( const Block payload)
explicit

Definition at line 34 of file channel-status.cpp.

Member Function Documentation

const std::string& ndn::nfd::ChannelStatus::getLocalUri ( ) const
inline

Definition at line 65 of file channel-status.hpp.

ChannelStatus & ndn::nfd::ChannelStatus::setLocalUri ( const std::string  localUri)

Definition at line 88 of file channel-status.cpp.

void ndn::nfd::ChannelStatus::wireDecode ( const Block wire)

Definition at line 69 of file channel-status.cpp.

template<encoding::Tag TAG>
size_t ndn::nfd::ChannelStatus::wireEncode ( EncodingImpl< TAG > &  encoder) const

Definition at line 41 of file channel-status.cpp.

const Block & ndn::nfd::ChannelStatus::wireEncode ( ) const

Definition at line 53 of file channel-status.cpp.