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::SegmentPublisher< FaceBase > Class Template Referenceabstract

provides a publisher of Status Dataset or other segmented octet stream More...

#include <segment-publisher.hpp>

Inheritance diagram for nfd::SegmentPublisher< FaceBase >:
Collaboration diagram for nfd::SegmentPublisher< FaceBase >:

Public Member Functions

 SegmentPublisher (FaceBase &face, const Name &prefix, ndn::KeyChain &keyChain)
 
virtual ~SegmentPublisher ()
 
void publish ()
 

Static Public Member Functions

static size_t getMaxSegmentSize ()
 

Protected Member Functions

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

Detailed Description

template<class FaceBase>
class nfd::SegmentPublisher< FaceBase >

provides a publisher of Status Dataset or other segmented octet stream

See also
http://redmine.named-data.net/projects/nfd/wiki/StatusDataset

Definition at line 40 of file segment-publisher.hpp.

Constructor & Destructor Documentation

template<class FaceBase>
nfd::SegmentPublisher< FaceBase >::SegmentPublisher ( FaceBase &  face,
const Name &  prefix,
ndn::KeyChain &  keyChain 
)
inline

Definition at line 43 of file segment-publisher.hpp.

template<class FaceBase>
virtual nfd::SegmentPublisher< FaceBase >::~SegmentPublisher ( )
inlinevirtual

Definition at line 51 of file segment-publisher.hpp.

Member Function Documentation

template<class FaceBase>
virtual size_t nfd::SegmentPublisher< FaceBase >::generate ( ndn::EncodingBuffer &  outBuffer)
protectedpure virtual
template<class FaceBase>
static size_t nfd::SegmentPublisher< FaceBase >::getMaxSegmentSize ( )
inlinestatic

Definition at line 56 of file segment-publisher.hpp.

Referenced by nfd::SegmentPublisher< AppFace >::publish().

template<class FaceBase>
void nfd::SegmentPublisher< FaceBase >::publish ( )
inline

Definition at line 63 of file segment-publisher.hpp.


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