|
networkservice
|
A data structure containing all input parameters expected by the construtor. More...
#include <NetworkService.h>

Public Attributes | |
| const plugins::logger::ILogger & | logger |
| const plugins::config::IConfig & | config |
| const plugins::network::INetwork & | network |
| const plugins::firewall::IRuleFactory & | ruleFactory |
A data structure containing all input parameters expected by the construtor.
One reason that explains why a structure is preferred over a long list of input parameters (>=4) is that this way it is easier to add new parameters without impacting the readability.
| const plugins::config::IConfig& service::NetworkService::NetworkServiceParams::config |
An object to use the config plugin
| const plugins::logger::ILogger& service::NetworkService::NetworkServiceParams::logger |
An object to use the logger plugin
| const plugins::network::INetwork& service::NetworkService::NetworkServiceParams::network |
An object to use the network plugin
| const plugins::firewall::IRuleFactory& service::NetworkService::NetworkServiceParams::ruleFactory |
An object to use the firewall plugin
1.8.13