26 #ifndef NFD_DAEMON_FW_SELF_LEARNING_STRATEGY_HPP 27 #define NFD_DAEMON_FW_SELF_LEARNING_STRATEGY_HPP 83 const shared_ptr<pit::Entry>& pitEntry)
override;
87 const shared_ptr<pit::Entry>& pitEntry)
override;
91 const shared_ptr<pit::Entry>& pitEntry)
override;
103 broadcastInterest(
const Interest& interest,
const Face& inFace,
104 const shared_ptr<pit::Entry>& pitEntry);
109 multicastInterest(
const Interest& interest,
const Face& inFace,
110 const shared_ptr<pit::Entry>& pitEntry,
117 asyncProcessData(
const shared_ptr<pit::Entry>& pitEntry,
const Face& inFace,
const Data& data);
127 needPrefixAnn(
const shared_ptr<pit::Entry>& pitEntry);
132 addRoute(
const shared_ptr<pit::Entry>& pitEntry,
const Face& inFace,
147 #endif // NFD_DAEMON_FW_SELF_LEARNING_STRATEGY_HPP SelfLearningStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
static constexpr int getTypeId()
Represents a face-endpoint pair in the forwarder.
Main class of NFD's forwarding engine.
StrategyInfo on pit::OutRecord.
Represents an Interest packet.
Represents a collection of nexthops.
A prefix announcement object that represents an application's intent of registering a prefix toward i...
represents a Network Nack
Copyright (c) 2011-2015 Regents of the University of California.
void afterReceiveData(const Data &data, const FaceEndpoint &ingress, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Data is received
Represents an absolute name.
Represents a forwarding strategy.
StrategyInfo on pit::InRecord.
static const Name & getStrategyName()
Represents a Data packet.
void afterReceiveInterest(const Interest &interest, const FaceEndpoint &ingress, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after an Interest is received.
uint64_t FaceId
Identifies a face.
void afterReceiveNack(const lp::Nack &nack, const FaceEndpoint &ingress, const shared_ptr< pit::Entry > &pitEntry) override
Trigger after a Nack is received.
bool isNonDiscoveryInterest
Contains arbitrary information placed by the forwarding strategy on table entries.
Self-learning forwarding strategy.
boost::chrono::milliseconds milliseconds
static constexpr int getTypeId()