Main class that directs operations.
More...
#include "service/NetworkService.h"
Main class that directs operations.
//Core
Following a (kind of) Dependency Injection Principle, required objects to interact with the plugins are provided to this class through its constructor. Configuring the network and firewall is done in a certain order and handling that is the main purpose of this class.
- Author
- Boubacar DIENE bouba.nosp@m.car..nosp@m.diene.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Date
- April 2020
◆ NetworkService()
◆ applyConfig()
| int service::NetworkService::applyConfig |
( |
const std::string & |
configFile | ) |
const |
Apply the network configuration given in provided file.
- Parameters
-
| configFile | A valid path to a file in the filesystem containing configuration to apply or any other specific data the will be understood by the low level configuration reader (E.g. database name, tables name, etc. in case the config is retrieved from a database) |
- Returns
- EXIT_SUCCESS on success, EXIT_FAILURE on failure
◆ m_params
The documentation for this class was generated from the following file: