26 #ifndef NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 32 #include <unordered_set> 33 #include <unordered_map> 61 const shared_ptr<pit::Entry>& pitEntry)
override;
65 const Face& inFace,
const Data& data)
override;
103 std::tuple<Name, MtInfo*>
104 findPrefixMeasurements(
const pit::Entry& pitEntry);
110 addPrefixMeasurements(
const Data& data);
123 typedef std::unordered_map<FaceId, FaceInfo> FaceInfoTable;
130 afterReceiveNewInterest(
const Face& inFace,
const Interest& interest,
131 const shared_ptr<pit::Entry>& pitEntry);
134 afterReceiveRetxInterest(
const Face& inFace,
const Interest& interest,
135 const shared_ptr<pit::Entry>& pitEntry);
141 sendToLastNexthop(
const Face& inFace,
const Interest& interest,
142 const shared_ptr<pit::Entry>& pitEntry, MtInfo& mi,
146 afterRtoTimeout(weak_ptr<pit::Entry> pitWeak,
FaceId inFaceId,
FaceId firstOutFaceId);
154 const shared_ptr<pit::Entry>& pitEntry,
const fib::Entry& fibEntry,
158 updateMeasurements(
const Face& inFace,
const Data& data,
170 #endif // NFD_DAEMON_FW_ACCESS_STRATEGY_HPP time::microseconds Duration
a retransmission suppression decision algorithm that suppresses retransmissions within a fixed durati...
represents an Interest packet
void afterReceiveInterest(const Face &inFace, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received
Copyright (c) 2011-2015 Regents of the University of California.
static const Name & getStrategyName()
disconnects a Connection automatically upon destruction
cancels an event automatically upon destruction
Represents an absolute name.
represents a forwarding strategy
void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const Face &inFace, const Data &data) override
trigger before PIT entry is satisfied
implements the Mean-Deviation RTT estimator
Access Router Strategy version 1.
uint64_t FaceId
identifies a face
Represents a Data packet.
AccessStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
const FaceId INVALID_FACEID
indicates an invalid FaceId
contains arbitrary information forwarding strategy places on table entries