26 #ifndef NFD_DAEMON_FACE_FACE_SYSTEM_HPP 27 #define NFD_DAEMON_FACE_FACE_SYSTEM_HPP 32 #include <ndn-cxx/net/network-address.hpp> 33 #include <ndn-cxx/net/network-interface.hpp> 34 #include <ndn-cxx/net/network-monitor.hpp> 42 class ProtocolFactory;
43 struct ProtocolFactoryCtorParams;
59 std::set<const ProtocolFactory*>
98 const std::string& filename);
103 std::map<std::string, unique_ptr<ProtocolFactory>> m_factories;
110 std::map<std::string, ProtocolFactory*> m_factoryByScheme;
114 shared_ptr<ndn::net::NetworkMonitor> m_netmon;
123 #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
context for processing a config section in ProtocolFactory
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
boost::property_tree::ptree ConfigSection
a config file section
Provides support for an underlying protocol.
Parameters to ProtocolFactory constructor.
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE
entry point of the face system
ProtocolFactory * getFactoryById(const std::string &id)
std::set< const ProtocolFactory * > listProtocolFactories() const