ndn::nfd::ChannelStatus Class Reference

Represents an item in NFD Channel dataset. More...

#include <ndn-cxx/mgmt/nfd/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)
 
const BlockwireEncode () const
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &encoder) 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 34 of file channel-status.hpp.

Constructor & Destructor Documentation

◆ ChannelStatus() [1/2]

ndn::nfd::ChannelStatus::ChannelStatus ( )
default

◆ ChannelStatus() [2/2]

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

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

Member Function Documentation

◆ getLocalUri()

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

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

◆ setLocalUri()

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

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

◆ wireDecode()

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

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

◆ wireEncode() [1/2]

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

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

◆ wireEncode() [2/2]

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

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