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>


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

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

Constructor & Destructor Documentation

◆ ChannelStatus() [1/2]

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

◆ ChannelStatus() [2/2]

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

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

◆ setLocalUri()

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

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

References ndn::Block::reset().

Referenced by getLocalUri(), and nfd::makeFaceStatus().

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