NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
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)
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &encoder) const
 
const BlockwireEncode () const
 
void wireDecode (const Block &wire)
 
const std::string & getLocalUri () const
 
ChannelStatussetLocalUri (const std::string localUri)
 

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

◆ ChannelStatus() [1/2]

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

◆ ChannelStatus() [2/2]

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

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

References wireDecode().

Member Function Documentation

◆ wireEncode() [1/2]

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

◆ wireEncode() [2/2]

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

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

References ndn::Block::hasWire().

◆ wireDecode()

◆ getLocalUri()

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

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

Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().

◆ setLocalUri()

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

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

References ndn::Block::reset().


The documentation for this class was generated from the following files: