NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nfd::StrategyChoicePublisher Class Reference

#include <strategy-choice-publisher.hpp>

Inheritance diagram for nfd::StrategyChoicePublisher:
Collaboration diagram for nfd::StrategyChoicePublisher:

Public Member Functions

 StrategyChoicePublisher (const StrategyChoice &strategyChoice, AppFace &face, const Name &prefix, ndn::KeyChain &keyChain)
 
virtual ~StrategyChoicePublisher ()
 
- Public Member Functions inherited from nfd::SegmentPublisher< AppFace >
 SegmentPublisher (AppFace &face, const Name &prefix, ndn::KeyChain &keyChain)
 
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 ()
 

Detailed Description

Definition at line 36 of file strategy-choice-publisher.hpp.

Constructor & Destructor Documentation

nfd::StrategyChoicePublisher::StrategyChoicePublisher ( const StrategyChoice strategyChoice,
AppFace face,
const Name &  prefix,
ndn::KeyChain &  keyChain 
)

Definition at line 37 of file strategy-choice-publisher.cpp.

nfd::StrategyChoicePublisher::~StrategyChoicePublisher ( )
virtual

Definition at line 47 of file strategy-choice-publisher.cpp.

Member Function Documentation

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

In a derived class, write the octets into outBuffer.

Implements nfd::SegmentPublisher< AppFace >.

Definition at line 53 of file strategy-choice-publisher.cpp.

References nfd::StrategyChoice::begin(), nfd::StrategyChoice::end(), and nfd::StrategyChoice.


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