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

a retransmission suppression decision algorithm that suppresses retransmissions within a fixed duration More...

#include <retx-suppression-fixed.hpp>

Inheritance diagram for nfd::fw::RetxSuppressionFixed:
Collaboration diagram for nfd::fw::RetxSuppressionFixed:

Public Member Functions

 RetxSuppressionFixed (const time::milliseconds &minRetxInterval=DEFAULT_MIN_RETX_INTERVAL)
 
virtual Result decide (const Face &inFace, const Interest &interest, pit::Entry &pitEntry) const override
 determines whether Interest is a retransmission, and if so, whether it shall be forwarded or suppressed More...
 

Static Public Attributes

static const time::milliseconds DEFAULT_MIN_RETX_INTERVAL
 

Additional Inherited Members

- Public Types inherited from nfd::fw::RetxSuppression
enum  Result { NEW, FORWARD, SUPPRESS }
 
- Protected Member Functions inherited from nfd::fw::RetxSuppression
time::steady_clock::TimePoint getLastOutgoing (const pit::Entry &pitEntry) const
 

Detailed Description

a retransmission suppression decision algorithm that suppresses retransmissions within a fixed duration

Definition at line 37 of file retx-suppression-fixed.hpp.

Constructor & Destructor Documentation

◆ RetxSuppressionFixed()

nfd::fw::RetxSuppressionFixed::RetxSuppressionFixed ( const time::milliseconds &  minRetxInterval = DEFAULT_MIN_RETX_INTERVAL)
explicit

Definition at line 34 of file retx-suppression-fixed.cpp.

Member Function Documentation

◆ decide()

RetxSuppression::Result nfd::fw::RetxSuppressionFixed::decide ( const Face inFace,
const Interest interest,
pit::Entry pitEntry 
) const
overridevirtual

Member Data Documentation

◆ DEFAULT_MIN_RETX_INTERVAL

const time::milliseconds nfd::fw::RetxSuppressionFixed::DEFAULT_MIN_RETX_INTERVAL
static

Definition at line 51 of file retx-suppression-fixed.hpp.


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