|
| | ConfigSocketServer (const std::string &name) |
| |
| | ~ConfigSocketServer () override |
| |
| SSL_CTX * | getSslCtx () |
| |
| SSL_CTX * | getSniCtx (const std::string &serverNameIndication) |
| |
| | ConfigInstance (ConfigInstance &)=delete |
| |
| | ConfigInstance (ConfigInstance &&)=delete |
| |
| ConfigInstance & | operator= (ConfigInstance &)=delete |
| |
| ConfigInstance & | operator= (ConfigInstance &&)=delete |
| |
| Role | getRole () |
| |
| const std::string & | getInstanceName () const |
| |
| void | setInstanceName (const std::string &instanceName) |
| |
| bool | getDisabled () const |
| |
| void | setDisabled (bool disabled=true) |
| |
| CLI::App * | addSection (const std::string &name, const std::string &description, const std::string &group="Sections") |
| |
| CLI::App * | getSection (const std::string &name, bool onlyGot=false, bool recursive=false) const |
| |
| bool | gotSection (const std::string &name, bool recursive=false) const |
| |
| void | required (CLI::App *section, bool req=true) |
| |
| bool | getRequired () const |
| |
| CLI::App * | get () const |
| |
| ConfigTlsServer & | setForceSni (bool forceSni=true) |
| |
| bool | getForceSni () const |
| |
| ConfigTlsServer & | addSniCerts (const std::map< std::string, std::map< std::string, std::variant< std::string, bool, ssl_option_t > > > &sniCerts) |
| |
| ConfigTlsServer & | addSniCert (const std::string &domain, const std::map< std::string, std::variant< std::string, bool, ssl_option_t > > &sniCert) |
| |
| const std::map< std::string, std::map< std::string, std::variant< std::string, bool, ssl_option_t > > > & | getSniCerts () |
| |
| ConfigTls & | setInitTimeout (const utils::Timeval &newInitTimeout) |
| |
| utils::Timeval | getInitTimeout () const |
| |
| ConfigTls & | setShutdownTimeout (const utils::Timeval &newShutdownTimeout) |
| |
| utils::Timeval | getShutdownTimeout () const |
| |
| ConfigTls & | setCert (const std::string &cert) |
| |
| std::string | getCert () const |
| |
| ConfigTls & | setCertKey (const std::string &certKey) |
| |
| std::string | getCertKey () const |
| |
| ConfigTls & | setCertKeyPassword (const std::string &certKeyPassword) |
| |
| std::string | getCertKeyPassword () const |
| |
| ConfigTls & | setCaCert (const std::string &caCert) |
| |
| std::string | getCaCert () const |
| |
| ConfigTls & | setCaCertDir (const std::string &caCertDir) |
| |
| std::string | getCaCertDir () const |
| |
| ConfigTls & | setCaCertUseDefaultDir (bool set=true) |
| |
| bool | getCaCertUseDefaultDir () const |
| |
| ConfigTls & | setCaCertAcceptUnknown (bool set=true) |
| |
| bool | getCaCertAcceptUnknown () const |
| |
| ConfigTls & | setCipherList (const std::string &cipherList) |
| |
| std::string | getCipherList () const |
| |
| ConfigTls & | setSslOptions (ssl_option_t sslOptions) |
| |
| ssl_option_t | getSslOptions () const |
| |
| ConfigTls & | setNoCloseNotifyIsEOF (bool noCloseNotifyIsEOF=true) |
| |
| bool | getNoCloseNotifyIsEOF () const |
| |
|
| enum class | Role { SERVER
, CLIENT
} |
| |
| using | Instance = ConfigInstance |
| |
| using | Tls = ConfigTlsServer |
| |
| | ConfigSocketServer (const std::string &name) |
| |
| | ~ConfigSocketServer () override |
| |
| | ConfigInstance (const std::string &instanceName, Role role) |
| |
| virtual | ~ConfigInstance () |
| |
| | ConfigTlsServer (ConfigInstance *instance) |
| |
| | ConfigTls (ConfigInstance *instance) |
| |
| | ConfigSection (ConfigInstance *instance, const std::string &name, const std::string &description) |
| |
| | ConfigSection (const ConfigSection &)=delete |
| |
| | ConfigSection (ConfigSection &&)=delete |
| |
| ConfigSection & | operator= (const ConfigSection &)=delete |
| |
| ConfigSection & | operator= (ConfigSection &&)=delete |
| |
| CLI::Option * | addOption (const std::string &name, const std::string &description) |
| |
| CLI::Option * | addOption (const std::string &name, const std::string &description, const std::string &typeName) |
| |
| CLI::Option * | addOption (const std::string &name, const std::string &description, const std::string &typeName, const CLI::Validator &additionalValidator) |
| |
| template<typename ValueTypeT > |
| CLI::Option * | addOption (const std::string &name, const std::string &description, const std::string &typeName, ValueTypeT defaultValue) |
| |
| template<typename ValueTypeT > |
| CLI::Option * | addOption (const std::string &name, const std::string &description, const std::string &typeName, ValueTypeT defaultValue, const CLI::Validator &additionalValidator) |
| |
| CLI::Option * | addFlag (const std::string &name, const std::string &description, const std::string &typeName) |
| |
| CLI::Option * | addFlag (const std::string &name, const std::string &description, const std::string &typeName, const CLI::Validator &additionalValidator) |
| |
| template<typename ValueTypeT > |
| CLI::Option * | addFlag (const std::string &name, const std::string &description, const std::string &typeName, ValueTypeT defaultValue) |
| |
| template<typename ValueTypeT > |
| CLI::Option * | addFlag (const std::string &name, const std::string &description, const std::string &typeName, ValueTypeT defaultValue, const CLI::Validator &additionalValidator) |
| |
| CLI::Option * | addFlagFunction (const std::string &name, const std::function< void()> &callback, const std::string &description, const std::string &typeName, const std::string &defaultValue) |
| |
| CLI::Option * | addFlagFunction (const std::string &name, const std::function< void()> &callback, const std::string &description, const std::string &typeName, const std::string &defaultValue, const CLI::Validator &validator) |
| |
| void | required (CLI::Option *opt, bool req=true) |
| |
| bool | required () const |
| |
| template<typename ValueType > |
| CLI::Option * | addOption (const std::string &name, const std::string &description, const std::string &typeName, ValueType defaultValue) |
| |
| template<typename ValueType > |
| CLI::Option * | addOption (const std::string &name, const std::string &description, const std::string &typeName, ValueType defaultValue, const CLI::Validator &additionalValidator) |
| |
| template<typename ValueType > |
| CLI::Option * | addFlag (const std::string &name, const std::string &description, const std::string &typeName, ValueType defaultValue) |
| |
| template<typename ValueType > |
| CLI::Option * | addFlag (const std::string &name, const std::string &description, const std::string &typeName, ValueType defaultValue, const CLI::Validator &additionalValidator) |
| |
| CLI::App * | section = nullptr |
| |
Definition at line 56 of file ConfigSocketServer.h.