NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::nfd::ChannelStatus Class Reference

represents NFD Channel Status dataset More...

#include <nfd-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 NFD Channel Status dataset

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

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

Constructor & Destructor Documentation

§ ChannelStatus() [1/2]

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

Definition at line 36 of file nfd-channel-status.cpp.

Referenced by ndn::nfd::ChannelStatus::Error::Error().

§ ChannelStatus() [2/2]

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

Definition at line 40 of file nfd-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 66 of file nfd-channel-status.cpp.

References ndn::Block::hasWire().

Referenced by ndn::nfd::ChannelStatus::Error::Error().

§ wireDecode()

§ getLocalUri()

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

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

References setLocalUri().

§ setLocalUri()

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

Definition at line 101 of file nfd-channel-status.cpp.

References ndn::Block::reset().

Referenced by getLocalUri(), and nfd::FaceManager::setConfigFile().


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