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

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

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

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

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

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

References wireDecode().

Member Function Documentation

template<encoding::Tag TAG>
size_t ndn::nfd::ChannelStatus::wireEncode ( EncodingImpl< TAG > &  encoder) const
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().

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

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

References 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 nfd::ChannelStatusPublisher::generate(), and getLocalUri().


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