26 #ifndef NFD_DAEMON_FW_FORWARDER_HPP 27 #define NFD_DAEMON_FW_FORWARDER_HPP 71 return *m_unsolicitedDataPolicy;
77 BOOST_ASSERT(policy !=
nullptr);
78 m_unsolicitedDataPolicy =
std::move(policy);
108 return m_measurements;
114 return m_strategyChoice;
120 return m_deadNonceList;
126 return m_networkRegionTable;
170 const shared_ptr<pit::Entry>& pitEntry);
176 const shared_ptr<pit::Entry>& pitEntry,
const Data& data);
182 onOutgoingInterest(
const Interest& interest,
Face& egress,
183 const shared_ptr<pit::Entry>& pitEntry);
188 onInterestFinalize(
const shared_ptr<pit::Entry>& pitEntry);
206 onOutgoingData(
const Data& data,
Face& egress);
220 const shared_ptr<pit::Entry>& pitEntry);
223 onDroppedInterest(
const Interest& interest,
Face& egress);
242 processConfig(
const ConfigSection& configSection,
bool isDryRun,
243 const std::string& filename);
253 uint8_t defaultHopLimit = 0;
261 unique_ptr<fw::UnsolicitedDataPolicy> m_unsolicitedDataPolicy;
271 shared_ptr<Face> m_csFace;
279 #endif // NFD_DAEMON_FW_FORWARDER_HPP #define NFD_VIRTUAL_WITH_TESTS
signal::Signal< Forwarder, pit::Entry, Face, Data > beforeSatisfyInterest
trigger before PIT entry is satisfied
const ForwarderCounters & getCounters() const
Represents the Dead Nonce List.
Counters provided by Forwarder.
void setConfigFile(ConfigFile &config)
Represents a face-endpoint pair in the forwarder.
DeadNonceList & getDeadNonceList()
configuration file parsing utility
determines how to process an unsolicited Data
Main class of NFD's forwarding engine.
boost::chrono::duration< Rep, Period > duration
Represents an Interest packet.
stores a collection of producer region names
StrategyChoice & getStrategyChoice()
provides a lightweight signal / event system
represents a Network Nack
Represents the Interest Table.
Copyright (c) 2011-2015 Regents of the University of California.
#define NFD_PUBLIC_WITH_TESTS_ELSE_PRIVATE
signal::Signal< Forwarder, pit::Entry > beforeExpirePendingInterest
trigger before PIT entry expires
Represents the Forwarding Information Base (FIB)
signal::Signal< Forwarder, Interest > afterCsMiss
Signals when the incoming interest pipeline gets a miss from the content store.
signal::Signal< Forwarder, Interest, Data > afterCsHit
Signals when the incoming interest pipeline gets a hit from the content store.
boost::property_tree::ptree ConfigSection
a config file section
Represents an absolute name.
implements the Content Store
fw::UnsolicitedDataPolicy & getUnsolicitedDataPolicy() const
Represents a forwarding strategy.
A common index structure for FIB, PIT, StrategyChoice, and Measurements.
Represents the Strategy Choice table.
NetworkRegionTable & getNetworkRegionTable()
Contains information about an Interest toward an outgoing face.
Measurements & getMeasurements()
Represents a Data packet.
void setUnsolicitedDataPolicy(unique_ptr< fw::UnsolicitedDataPolicy > policy)
Represents a nexthop record in a FIB entry.
boost::chrono::milliseconds milliseconds