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

generates sequence numbers More...

#include <ndnlp-sequence-generator.hpp>

Inheritance diagram for nfd::ndnlp::SequenceGenerator:
Collaboration diagram for nfd::ndnlp::SequenceGenerator:

Public Member Functions

 SequenceGenerator ()
 
SequenceBlock nextBlock (size_t count)
 generates a block of consecutive sequence numbers More...
 

Detailed Description

generates sequence numbers

Definition at line 70 of file ndnlp-sequence-generator.hpp.

Constructor & Destructor Documentation

◆ SequenceGenerator()

nfd::ndnlp::SequenceGenerator::SequenceGenerator ( )

Definition at line 36 of file ndnlp-sequence-generator.cpp.

Member Function Documentation

◆ nextBlock()

SequenceBlock nfd::ndnlp::SequenceGenerator::nextBlock ( size_t  count)

generates a block of consecutive sequence numbers

This block must not overlap with a recent block.

Definition at line 42 of file ndnlp-sequence-generator.cpp.

Referenced by nfd::ndnlp::Slicer::slice().


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