NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
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 'override' specifier, otherwise expands to nothing ...
Definition:
common.hpp:50
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::pit::Entry
represents a PIT entry
Definition:
pit-entry.hpp:69
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 Sat Nov 12 2016 16:02:54 for ndnSIM by
1.8.12