|
| | 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 * | newSection (std::shared_ptr< CLI::App > appWithPtr, const std::string &group) |
| net::config::ConfigSection * | addSection (std::shared_ptr< net::config::ConfigSection > &&configSection) |
| template<typename ConcreteConfigSection, typename... Args> |
| ConcreteConfigSection * | addSection (Args &&... args) |
| template<typename SectionTypeT> |
| SectionTypeT * | getSection () const |
| bool | gotSection (const std::string &name, bool recursive=false) const |
| void | required (bool required=true) |
| void | required (CLI::App *section, bool req=true) |
| bool | getRequired () const |
| CLI::App * | get () const |
| void | configurable (bool configurable=true) |
| template<typename SectionType> |
| SectionType * | getSection () const |
| ConfigAddress & | setSocketAddress (const SocketAddress &socketAddress) |
| ConfigAddress & | setBtAddress (const std::string &btAddress) |
| std::string | getBtAddress () const |
| ConfigAddress & | setChannel (uint8_t channel) |
| uint8_t | getChannel () const |
| void | configurable (bool configurable=true) final |
| net::rc::SocketAddress | getSocketAddress (const typename net::rc::SocketAddress::SockAddr &sockAddr, typename net::rc::SocketAddress::SockLen sockAddrLen) |
| void | renew () |
| net::rc::SocketAddress | getSocketAddress (const typename net::rc::SocketAddress::SockAddr &sockAddr, typename net::rc::SocketAddress::SockLen sockAddrLen) |
| utils::Timeval | getReadTimeout () const |
| ConfigConnection & | setReadTimeout (const utils::Timeval &newReadTimeoutSet) |
| utils::Timeval | getWriteTimeout () const |
| ConfigConnection & | setWriteTimeout (const utils::Timeval &newWriteTimeoutSet) |
| std::size_t | getReadBlockSize () const |
| ConfigConnection & | setReadBlockSize (std::size_t newReadBlockSize) |
| std::size_t | getWriteBlockSize () const |
| ConfigConnection & | setWriteBlockSize (std::size_t newWriteBlockSize) |
| utils::Timeval | getTerminateTimeout () const |
| ConfigConnection & | setTerminateTimeout (const utils::Timeval &newTerminateTimeout) |
| ConfigPhysicalSocketServer & | setBacklog (int newBacklog) |
| int | getBacklog () const |
| ConfigPhysicalSocketServer & | setAcceptsPerTick (int acceptsPerTickSet) |
| int | getAcceptsPerTick () const |
| ConfigPhysicalSocketServer & | setAcceptTimeout (const utils::Timeval &acceptTimeout) |
| utils::Timeval | getAcceptTimeout () const |
| const std::map< int, std::map< int, net::phy::PhysicalSocketOption > > & | getSocketOptions () |
| ConfigPhysicalSocket & | addSocketOption (int optLevel, int optName, int optValue) |
| ConfigPhysicalSocket & | addSocketOption (int optLevel, int optName, const std::string &optValue) |
| ConfigPhysicalSocket & | addSocketOption (int optLevel, int optName, const std::vector< char > &optValue) |
| ConfigPhysicalSocket & | removeSocketOption (int optLevel, int optName) |
| ConfigPhysicalSocket & | setRetry (bool retry=true) |
| bool | getRetry () const |
| ConfigPhysicalSocket & | setRetryOnFatal (bool retry=true) |
| bool | getRetryOnFatal () const |
| ConfigPhysicalSocket & | setRetryTimeout (double sec) |
| double | getRetryTimeout () const |
| ConfigPhysicalSocket & | setRetryTries (unsigned int tries=0) |
| unsigned int | getRetryTries () const |
| ConfigPhysicalSocket & | setRetryBase (double base) |
| double | getRetryBase () const |
| ConfigPhysicalSocket & | setRetryLimit (unsigned int limit) |
| unsigned int | getRetryLimit () const |
| ConfigPhysicalSocket & | setRetryJitter (double percent) |
| double | getRetryJitter () 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 | Local |
| using | Remote |
| using | Connection = ConfigConnection |
| using | Socket = ConfigPhysicalSocketServer |
| using | Tls = ConfigTlsServer |
| static constexpr std::string_view | name |
| static constexpr std::string_view | description |
| static constexpr std::string_view | name |
| static constexpr std::string_view | description |
| static constexpr std::string_view | name {"connection"} |
| static constexpr std::string_view | description {"Configuration of established connections"} |
| static constexpr std::string_view | name {"socket"} |
| static constexpr std::string_view | description {"Configuration of socket behavior"} |
| static constexpr std::string_view | name {"tls"} |
| static constexpr std::string_view | description {"Configuration of SSL/TLS behavior"} |
| | ConfigSocketServer (const std::string &name) |
| | ~ConfigSocketServer () override |
| | ConfigInstance (const std::string &instanceName, Role role) |
| virtual | ~ConfigInstance () |
| | ConfigSocketServer (net::config::ConfigInstance *instance) |
| | ~ConfigSocketServer () override |
| | ConfigSocketServer (net::config::ConfigInstance *instance) |
| | ConfigAddress (net::config::ConfigInstance *instance, const std::string &addressOptionName, const std::string &addressOptionDescription) |
| ConfigAddress & | setBtAddressRequired (bool required=true) |
| ConfigAddress & | setChannelRequired (bool required=true) |
| | ConfigAddress (ConfigInstance *instance, const std::string &addressOptionName, const std::string &addressOptionDescription) |
| | ~ConfigAddress () override |
| | ConfigAddressBase (ConfigInstance *instance, const std::string &addressOptionName="", const std::string &addressOptionDescription="") |
| virtual | ~ConfigAddressBase ()=default |
| | ConfigAddressReverse (net::config::ConfigInstance *instance, const std::string &addressOptionName, const std::string &addressOptionDescription) |
| | ConfigConnection (ConfigInstance *instance) |
| | ~ConfigConnection () override |
| | ConfigPhysicalSocketServer (ConfigInstance *instance) |
| | ~ConfigPhysicalSocketServer () override |
| | ConfigPhysicalSocket (net::config::ConfigSection *section) |
| CLI::Option * | addSocketOption (const std::string &name, int optLevel, int optName, const std::string &description, const std::string &typeName, const std::string &defaultValue, const CLI::Validator &validator) |
| | ConfigTlsServer (ConfigInstance *instance) |
| | ~ConfigTlsServer () override |
| | ConfigTls (net::config::ConfigSection *section) |
| CLI::Option * | btAddressOpt |
| CLI::Option * | channelOpt |
Definition at line 56 of file ConfigSocketServer.h.