2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
44#include "net/config/ConfigSection.hpp"
46#ifndef DOXYGEN_SHOULD_SKIP_THIS
48#include "utils/Timeval.h"
52namespace net::config {
56 backlogOpt = addOption(
63 acceptsPerTickOpt = addOption(
70 acceptTimeoutOpt = addOption(
75 CLI::NonNegativeNumber);
84 ->default_val(newBacklog)
96 ->default_val(acceptsPerTickSet)
104 ->default_val(acceptTimeout)
ConfigPhysicalSocketServer(ConfigInstance *instance)
utils::Timeval getAcceptTimeout() const
CLI::Option * acceptTimeoutOpt
ConfigPhysicalSocketServer & setAcceptTimeout(const utils::Timeval &acceptTimeout)
CLI::Option * acceptsPerTickOpt
ConfigPhysicalSocketServer & setBacklog(int newBacklog)
int getAcceptsPerTick() const
ConfigPhysicalSocketServer & setAcceptsPerTick(int acceptsPerTickSet)
ConfigPhysicalSocket(ConfigInstance *instance)