network server configuration More...
#include <standardConfigs.hpp>
Public Member Functions | |
Configuration () | |
constructor More... | |
bool | parse (const config::ConfigurationNode &pt, const std::string &node, const module::ModulesDirectory *modules) |
methods More... | |
bool | check () const |
void | print (std::ostream &os, size_t indent) const |
void | setCanonicalPathes (const std::string &referencePath) |
Public Member Functions inherited from _Wolframe::config::ConfigurationBase | |
ConfigurationBase (const char *sectionName_, const char *logParent_, const char *logName_) | |
virtual | ~ConfigurationBase () |
const std::string & | sectionName () const |
The display string (name) for the configuration section. More... | |
const std::string & | logPrefix () const |
Public Attributes | |
unsigned short | threads |
unsigned short | maxConnections |
std::list< net::ServerTCPendpoint > | address |
network server configuration
_Wolframe::net::Configuration::Configuration | ( | ) |
constructor
|
virtual |
Check if the server configuration makes sense
Be aware that this function does NOT test if the configuration can be used. It only tests if it MAY be valid. This function will log errors / warnings
Reimplemented from _Wolframe::config::ConfigurationBase.
|
virtual |
methods
Implements _Wolframe::config::ConfigurationBase.
|
virtual |
Print the configuration This function is supposed to print the running configuration, this means all the configuration parameters, not only those that were set in the configuration file.
[in] | os | stream to use for printing |
[in] | indent | print indented with this number of spaces |
Implements _Wolframe::config::ConfigurationBase.
|
virtual |
Set the pathes in the configuration to absolute values
[in] | refPath | use this path as reference when computing the absolute pathes |
Reimplemented from _Wolframe::config::ConfigurationBase.
std::list<net::ServerTCPendpoint> _Wolframe::net::Configuration::address |
unsigned short _Wolframe::net::Configuration::maxConnections |
unsigned short _Wolframe::net::Configuration::threads |
Copyright © 2014 - Project Wolframe - All Rights Reserved