NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
retx-suppression-fixed.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26
#ifndef NFD_DAEMON_FW_RETX_SUPPRESSION_FIXED_HPP
27
#define NFD_DAEMON_FW_RETX_SUPPRESSION_FIXED_HPP
28
29
#include "
retx-suppression.hpp
"
30
31
namespace
nfd
{
32
namespace
fw {
33
37
class
RetxSuppressionFixed
:
public
RetxSuppression
38
{
39
public
:
40
explicit
41
RetxSuppressionFixed
(
const
time::milliseconds& minRetxInterval =
DEFAULT_MIN_RETX_INTERVAL
);
42
46
virtual
Result
47
decide
(
const
Face
& inFace,
const
Interest
& interest,
48
pit::Entry
& pitEntry)
const
DECL_OVERRIDE
;
49
50
public
:
51
static
const
time::milliseconds
DEFAULT_MIN_RETX_INTERVAL
;
52
53
private
:
54
const
time::milliseconds m_minRetxInterval;
55
};
56
57
}
// namespace fw
58
}
// namespace nfd
59
60
#endif // NFD_DAEMON_FW_RETX_SUPPRESSION_FIXED_HPP
nfd::fw::RetxSuppressionFixed::DEFAULT_MIN_RETX_INTERVAL
static const time::milliseconds DEFAULT_MIN_RETX_INTERVAL
Definition:
retx-suppression-fixed.hpp:51
nfd::fw::RetxSuppressionFixed
a retransmission suppression decision algorithm that suppresses retransmissions within a fixed durati...
Definition:
retx-suppression-fixed.hpp:37
nfd::fw::RetxSuppressionFixed::decide
virtual Result decide(const Face &inFace, const Interest &interest, pit::Entry &pitEntry) const 1
determines whether Interest is a retransmission, and if so, whether it shall be forwarded or suppress...
Definition:
retx-suppression-fixed.cpp:40
ndn::Interest
represents an Interest packet
Definition:
interest.hpp:45
DECL_OVERRIDE
#define DECL_OVERRIDE
expands to 'override' if compiler supports this feature, otherwise expands to nothing ...
Definition:
common.hpp:49
nfd::Face
represents a face
Definition:
face.hpp:57
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
nfd::pit::Entry
represents a PIT entry
Definition:
pit-entry.hpp:67
nfd::fw::RetxSuppression
helper for consumer retransmission suppression
Definition:
retx-suppression.hpp:36
nfd::fw::RetxSuppressionFixed::RetxSuppressionFixed
RetxSuppressionFixed(const time::milliseconds &minRetxInterval=DEFAULT_MIN_RETX_INTERVAL)
Definition:
retx-suppression-fixed.cpp:33
nfd::fw::RetxSuppression::Result
Result
Definition:
retx-suppression.hpp:39
retx-suppression.hpp
ndnSIM
NFD
daemon
fw
retx-suppression-fixed.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11