|
| | ConfigSocketClient (const std::string &name) |
| | ~ConfigSocketClient () override |
| SSL_CTX * | getSslCtx () |
| | ConfigInstance (ConfigInstance &)=delete |
| | ConfigInstance (ConfigInstance &&)=delete |
| ConfigInstance & | operator= (ConfigInstance &)=delete |
| ConfigInstance & | operator= (ConfigInstance &&)=delete |
| const std::string & | getInstanceName () const |
| bool | getDisabled () const |
| ConfigInstance & | setDisabled (bool disabled=true) |
| ConfigInstance & | configurable (bool configurable) |
| Public Member Functions inherited from utils::SubCommand |
| | SubCommand (const SubCommand &)=delete |
| | SubCommand (SubCommand &&)=delete |
| SubCommand & | operator= (const SubCommand &)=delete |
| SubCommand & | operator= (SubCommand &&)=delete |
| virtual | ~SubCommand () |
| std::string | getName () const |
| std::string | version () const |
| void | parse (int argc, char *argv[]) |
| CLI::Option * | setConfig (const std::string &defaultConfigFile) const |
| CLI::Option * | setLogFile (const std::string &defaultLogFile) const |
| CLI::Option * | setVersionFlag (const std::string &version) const |
| bool | hasParent () const |
| SubCommand * | getParent () |
| SubCommand * | allowExtras (bool allow=true) |
| SubCommand * | required (bool required=true, bool force=true) |
| SubCommand * | required (SubCommand *subCommand, bool required=true) |
| SubCommand * | required (CLI::Option *option, bool required=true) |
| SubCommand * | needs (SubCommand *subCommand, bool needs=true) |
| SubCommand * | disabled (SubCommand *subCommand, bool disabled=true) |
| SubCommand * | setRequireCallback (const std::function< void(void)> &callback) |
| SubCommand * | finalCallback (const std::function< void()> &finalCallback) |
| std::string | configToStr () const |
| std::string | help (const CLI::App *helpApp, const CLI::AppFormatMode &mode) const |
| template<typename NewSubCommand, typename... Args> |
| NewSubCommand * | newSubCommand (Args &&... args) |
| template<typename RequestedSubCommand> |
| RequestedSubCommand * | getSubCommand () |
| template<typename RequestedSubCommand> |
| RequestedSubCommand * | getSubCommand () const |
| CLI::Option * | getOption (const std::string &name) const |
| CLI::Option * | addOption (const std::string &name, const std::string &description, const std::string &typeName, const CLI::Validator &validator) const |
| template<typename ValueTypeT> |
| CLI::Option * | addOption (const std::string &name, const std::string &description, const std::string &typeName, ValueTypeT defaultValue, const CLI::Validator &validator) const |
| template<typename ValueTypeT> |
| CLI::Option * | addOptionVariable (const std::string &name, ValueTypeT &variable, const std::string &description, const std::string &typeName, const CLI::Validator &additionalValidator) const |
| template<typename ValueTypeT> |
| CLI::Option * | addOptionVariable (const std::string &name, ValueTypeT &variable, const std::string &description, const std::string &typeName, ValueTypeT defaultValue, const CLI::Validator &additionalValidator) const |
| CLI::Option * | addOptionFunction (const std::string &name, std::function< void(const std::string &)> &callback, const std::string &description, const std::string &typeName, const CLI::Validator &validator) const |
| template<typename ValueTypeT> |
| CLI::Option * | addOptionFunction (const std::string &name, std::function< void(const std::string &)> &callback, const std::string &description, const std::string &typeName, ValueTypeT defaultValue, const CLI::Validator &validator) const |
| CLI::Option * | addFlag (const std::string &name, const std::string &description, const std::string &typeName, const CLI::Validator &validator) const |
| template<typename ValueTypeT> |
| CLI::Option * | addFlag (const std::string &name, const std::string &description, const std::string &typeName, ValueTypeT defaultValue, const CLI::Validator &validator) const |
| CLI::Option * | addFlagFunction (const std::string &name, const std::function< void()> &callback, const std::string &description, const std::string &typeName, const CLI::Validator &validator) |
| 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) |
| ConfigAddress & | setSocketAddress (const SocketAddress &socketAddress) |
| ConfigAddress & | setBtAddress (const std::string &btAddress) |
| std::string | getBtAddress () const |
| ConfigAddress & | setPsm (uint16_t psm) |
| uint16_t | getPsm () const |
| void | configurable (bool configurable=true) final |
| template<typename T> |
| | ConfigSection (ConfigInstance *instance, T *sectionPtr, const std::string &group="Sections") |
| | ~ConfigSection () override |
| | ConfigSection (const ConfigSection &)=delete |
| | ConfigSection (ConfigSection &&)=delete |
| ConfigSection & | operator= (const ConfigSection &)=delete |
| net::l2::SocketAddress | getSocketAddress (const typename net::l2::SocketAddress::SockAddr &sockAddr, typename net::l2::SocketAddress::SockLen sockAddrLen) |
| void | renew () |
| net::l2::SocketAddress | getSocketAddress (const typename net::l2::SocketAddress::SockAddr &sockAddr, typename net::l2::SocketAddress::SockLen sockAddrLen) |
| ConfigAddress & | setSocketAddress (const SocketAddress &socketAddress) |
| ConfigAddress & | setBtAddress (const std::string &btAddress) |
| std::string | getBtAddress () const |
| ConfigAddress & | setPsm (uint16_t psm) |
| uint16_t | getPsm () const |
| void | configurable (bool configurable=true) final |
| 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) |
| ConfigPhysicalSocketClient & | setReconnect (bool reconnect=true) |
| bool | getReconnect () const |
| ConfigPhysicalSocketClient & | setReconnectTime (double time) |
| double | getReconnectTime () const |
| ConfigPhysicalSocketClient & | setConnectTimeout (const utils::Timeval &connectTimeout) |
| utils::Timeval | getConnectTimeout () const |
| const std::map< int, std::map< int, net::phy::PhysicalSocketOption > > & | getSocketOptions () const |
| 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 |
| template<typename ConcretConfigPhysicalSocket> |
| | ConfigPhysicalSocket (ConfigInstance *instance, ConcretConfigPhysicalSocket *section) |
| ConfigTlsClient & | setSni (const std::string &sni) |
| std::string | getSni () const |
| 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 |
|
| using | Instance |
| using | Tls |
| enum class | Role { SERVER
, CLIENT
} |
| using | Instance = ConfigInstance |
| using | Remote |
| using | Local |
| using | Connection |
| using | Socket |
| Static Public Member Functions inherited from utils::SubCommand |
| static CLI::App * | getHelpTriggerApp () |
| static CLI::App * | getShowConfigTriggerApp () |
| static CLI::App * | getCommandlineTriggerApp () |
| Static Public Attributes inherited from utils::SubCommand |
| static std::shared_ptr< CLI::Formatter > | sectionFormatter = makeSectionFormatter() |
| 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"} |
| | ConfigSocketClient (const std::string &name) |
| | ~ConfigSocketClient () override |
| | ConfigInstance (const std::string &instanceName, Role role) |
| | ~ConfigInstance () override |
| Protected Member Functions inherited from utils::SubCommand |
| | SubCommand (SubCommand *parent, std::shared_ptr< utils::AppWithPtr > appWithPtr, const std::string &group, bool final) |
| template<typename ConcretSubCommand> |
| | SubCommand (SubCommand *parent, ConcretSubCommand *concretSubCommand, const std::string &group, bool final=true) |
| SubCommand * | description (const std::string &description) |
| SubCommand * | footer (const std::string &footer) |
| template<typename ValueTypeT> |
| CLI::Option * | setDefaultValue (CLI::Option *option, const ValueTypeT &value, bool clear=true) const |
| CLI::Option * | setConfigurable (CLI::Option *option, bool configurable) const |
| | ConfigSocketClient (net::config::ConfigInstance *instance) |
| | ~ConfigSocketClient () override |
| | ConfigSocketClient (net::config::ConfigInstance *instance) |
| | ConfigAddress (net::config::ConfigInstance *instance, const std::string &addressOptionName, const std::string &addressOptionDescription) |
| ConfigAddress & | setBtAddressRequired (bool required=true) |
| ConfigAddress & | setPsmRequired (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 |
| | ConfigAddress (net::config::ConfigInstance *instance, const std::string &addressOptionName, const std::string &addressOptionDescription) |
| ConfigAddress & | setBtAddressRequired (bool required=true) |
| ConfigAddress & | setPsmRequired (bool required=true) |
| | ConfigConnection (ConfigInstance *instance) |
| | ~ConfigConnection () override |
| | ConfigPhysicalSocketClient (ConfigInstance *instance) |
| | ~ConfigPhysicalSocketClient () override |
| template<typename ConcretConfigPhysicalSocketT> |
| | ConfigPhysicalSocket (ConfigInstance *instance, ConcretConfigPhysicalSocketT *section) |
| | ~ConfigPhysicalSocket () override |
| 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) |
| | ConfigTlsClient (ConfigInstance *instance) |
| | ~ConfigTlsClient () override |
| template<typename ConcretConfigTls> |
| | ConfigTls (ConfigInstance *instance, ConcretConfigTls section) |
| | ~ConfigTls () override |
| CLI::Option * | btAddressOpt |
| CLI::Option * | psmOpt |
| CLI::Option * | btAddressOpt |
| CLI::Option * | psmOpt |
| Static Protected Attributes inherited from utils::SubCommand |
| static std::map< std::string, std::string > | aliases |
| static CLI::App * | helpTriggerApp = nullptr |
| static CLI::App * | showConfigTriggerApp = nullptr |
| static CLI::App * | commandlineTriggerApp = nullptr |