26 #ifndef NFD_DAEMON_FACE_FACE_SYSTEM_HPP 27 #define NFD_DAEMON_FACE_FACE_SYSTEM_HPP 33 #include <ndn-cxx/net/network-address.hpp> 34 #include <ndn-cxx/net/network-interface.hpp> 35 #include <ndn-cxx/net/network-monitor.hpp> 44 class ProtocolFactory;
45 struct ProtocolFactoryCtorParams;
61 std::set<const ProtocolFactory*>
110 processConfig(
const ConfigSection& configSection,
bool isDryRun,
111 const std::string& filename);
116 std::map<std::string, unique_ptr<ProtocolFactory>> m_factories;
117 unique_ptr<NetdevBound> m_netdevBound;
124 std::map<std::string, ProtocolFactory*> m_factoryByScheme;
127 shared_ptr<ndn::net::NetworkMonitor> m_netmon;
136 #endif // NFD_DAEMON_FACE_FACE_SYSTEM_HPP
FaceTable & getFaceTable()
FaceSystem(FaceTable &faceTable, shared_ptr< ndn::net::NetworkMonitor > netmon)
configuration file parsing utility
ProtocolFactory * getFactoryByScheme(const std::string &scheme)
void setConfigFile(ConfigFile &configFile)
register handler for face_system section of NFD configuration file
bool hasFactoryForScheme(const std::string &scheme) const
context for processing a config section in ProtocolFactory
boost::property_tree::ptree ConfigSection
a config file section
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
GeneralConfig generalConfig
configuration options from "general" section
Provides support for an underlying protocol.
Parameters to ProtocolFactory constructor.
bool wantCongestionMarking
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE
entry point of the face system
ProtocolFactory * getFactoryById(const std::string &id)
std::set< const ProtocolFactory * > listProtocolFactories() const