|
| | ConfigSocketClient (const std::string &name) |
| |
| | ~ConfigSocketClient () override |
| |
| | 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 |
| |
| 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 () |
| |
| 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 |
| |
|
| enum class | Role { SERVER
, CLIENT
} |
| |
| using | Instance = ConfigInstance |
| |
| using | Remote = net::un::config::ConfigAddress< net::config::ConfigAddressRemote > |
| |
| using | Local = net::un::config::ConfigAddress< net::config::ConfigAddressLocal > |
| |
| using | Connection = ConfigConnection |
| |
| using | Socket = ConfigPhysicalSocketClient |
| |
| using | Legacy = ConfigLegacy |
| |
| | ConfigSocketClient (const std::string &name) |
| |
| | ConfigInstance (const std::string &instanceName, Role role) |
| |
| virtual | ~ConfigInstance () |
| |
| | ConfigSocketClient (net::config::ConfigInstance *instance) |
| |
| | ~ConfigSocketClient () override |
| |
| | ConfigSocketClient (net::config::ConfigInstance *instance) |
| |
| | ConfigConnection (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) |
| |
| | ConfigPhysicalSocketClient (ConfigInstance *instance) |
| |
| | ConfigPhysicalSocket (ConfigInstance *instance) |
| |
| 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) |
| |
| | ConfigLegacy (ConfigInstance *instance) |
| |
| CLI::App * | section = nullptr |
| |
Definition at line 56 of file ConfigSocketClient.h.