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

#include <channel-status-publisher.hpp>

Inheritance diagram for nfd::ChannelStatusPublisher:
Collaboration diagram for nfd::ChannelStatusPublisher:

Public Types

typedef std::map< std::string, shared_ptr< ProtocolFactory > > FactoryMap
 

Public Member Functions

 ChannelStatusPublisher (const FactoryMap &factories, AppFace &face, const Name &prefix, ndn::KeyChain &keyChain)
 
virtual ~ChannelStatusPublisher ()
 
- Public Member Functions inherited from nfd::SegmentPublisher< AppFace >
 SegmentPublisher (AppFace &face, const Name &prefix, ndn::KeyChain &keyChain, const time::milliseconds &freshnessPeriod=getDefaultFreshness())
 
virtual ~SegmentPublisher ()
 
void publish ()
 

Protected Member Functions

virtual size_t generate (ndn::EncodingBuffer &outBuffer)
 In a derived class, write the octets into outBuffer. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from nfd::SegmentPublisher< AppFace >
static size_t getMaxSegmentSize ()
 
static constexpr time::milliseconds getDefaultFreshness ()
 

Detailed Description

Definition at line 36 of file channel-status-publisher.hpp.

Member Typedef Documentation

typedef std::map< std::string, shared_ptr<ProtocolFactory> > nfd::ChannelStatusPublisher::FactoryMap

Definition at line 39 of file channel-status-publisher.hpp.

Constructor & Destructor Documentation

nfd::ChannelStatusPublisher::ChannelStatusPublisher ( const FactoryMap factories,
AppFace face,
const Name prefix,
ndn::KeyChain &  keyChain 
)

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

nfd::ChannelStatusPublisher::~ChannelStatusPublisher ( )
virtual

Definition at line 43 of file channel-status-publisher.cpp.

Member Function Documentation

size_t nfd::ChannelStatusPublisher::generate ( ndn::EncodingBuffer &  outBuffer)
protectedvirtual

In a derived class, write the octets into outBuffer.

Implements nfd::SegmentPublisher< AppFace >.

Definition at line 48 of file channel-status-publisher.cpp.

References ndn::nfd::ChannelStatus::setLocalUri(), and ndn::nfd::ChannelStatus::wireEncode().


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