|
SNode.C
|
#include <ConfigPhysicalSocketServer.h>
Public Types | |
| using | Socket = ConfigPhysicalSocketServer |
Protected Member Functions | |
| ConfigPhysicalSocketServer (ConfigInstance *instance) | |
Protected Member Functions inherited from net::config::ConfigPhysicalSocket | |
| 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) |
Protected Member Functions inherited from net::config::ConfigSection | |
| 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) |
Private Types | |
| using | Super = ConfigPhysicalSocket |
Private Attributes | |
| CLI::Option * | backlogOpt = nullptr |
| CLI::Option * | acceptsPerTickOpt = nullptr |
| CLI::Option * | acceptTimeoutOpt = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from net::config::ConfigSection | |
| CLI::App * | section = nullptr |
Definition at line 62 of file ConfigPhysicalSocketServer.h.
Definition at line 67 of file ConfigPhysicalSocketServer.h.
|
private |
Definition at line 64 of file ConfigPhysicalSocketServer.h.
|
explicitprotected |
Definition at line 54 of file ConfigPhysicalSocketServer.cpp.
References net::config::ConfigPhysicalSocket::ConfigPhysicalSocket().
| int net::config::ConfigPhysicalSocketServer::getAcceptsPerTick | ( | ) | const |
Definition at line 90 of file ConfigPhysicalSocketServer.cpp.
References acceptsPerTickOpt.
| utils::Timeval net::config::ConfigPhysicalSocketServer::getAcceptTimeout | ( | ) | const |
Definition at line 110 of file ConfigPhysicalSocketServer.cpp.
References acceptTimeoutOpt.
| int net::config::ConfigPhysicalSocketServer::getBacklog | ( | ) | const |
Definition at line 78 of file ConfigPhysicalSocketServer.cpp.
References backlogOpt.
| ConfigPhysicalSocketServer & net::config::ConfigPhysicalSocketServer::setAcceptsPerTick | ( | int | acceptsPerTickSet | ) |
Definition at line 94 of file ConfigPhysicalSocketServer.cpp.
References acceptsPerTickOpt.
| ConfigPhysicalSocketServer & net::config::ConfigPhysicalSocketServer::setAcceptTimeout | ( | const utils::Timeval & | acceptTimeout | ) |
Definition at line 102 of file ConfigPhysicalSocketServer.cpp.
References acceptTimeoutOpt.
| ConfigPhysicalSocketServer & net::config::ConfigPhysicalSocketServer::setBacklog | ( | int | newBacklog | ) |
Definition at line 82 of file ConfigPhysicalSocketServer.cpp.
References backlogOpt.
|
private |
Definition at line 84 of file ConfigPhysicalSocketServer.h.
Referenced by getAcceptsPerTick(), and setAcceptsPerTick().
|
private |
Definition at line 85 of file ConfigPhysicalSocketServer.h.
Referenced by getAcceptTimeout(), and setAcceptTimeout().
|
private |
Definition at line 83 of file ConfigPhysicalSocketServer.h.
Referenced by getBacklog(), and setBacklog().