Handles the tables
configuration file section.
More...
#include <daemon/mgmt/tables-config-section.hpp>
Public Member Functions | |
TablesConfigSection (Forwarder &forwarder) | |
void | ensureConfigured () |
Apply default configuration, if tables section was omitted in configuration file. More... | |
void | setConfigFile (ConfigFile &configFile) |
Handles the tables
configuration file section.
This class recognizes a config section that looks like
During a configuration reload,
It's necessary to call ensureConfigured() after initial configuration and configuration reload, so that the correct defaults are applied in case tables section is omitted.
Definition at line 70 of file tables-config-section.hpp.
|
explicit |
Definition at line 35 of file tables-config-section.cpp.
void nfd::TablesConfigSection::ensureConfigured | ( | ) |
Apply default configuration, if tables section was omitted in configuration file.
Definition at line 50 of file tables-config-section.cpp.
void nfd::TablesConfigSection::setConfigFile | ( | ConfigFile & | configFile | ) |
Definition at line 42 of file tables-config-section.cpp.