Kea: timeouts.h Source File

| Kea 3.0.3-git

timeouts.h
Go to the documentation of this file.
1// Copyright (C) 2018-2019,2021 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef CONFIG_TIMEOUTS_H
8#define CONFIG_TIMEOUTS_H
9
10namespace isc {
11namespace config {
12
13// All timeouts provided below are in milliseconds.
14
17 constexpr long TIMEOUT_DHCP_SERVER_RECEIVE_COMMAND = 10000;
18
21 constexpr long TIMEOUT_AGENT_RECEIVE_COMMAND = 10000;
22
24 constexpr long TIMEOUT_AGENT_IDLE_CONNECTION_TIMEOUT = 30000;
25
31 constexpr long TIMEOUT_AGENT_FORWARD_COMMAND = 60000;
32
38 constexpr long TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST = 10000;
39
40
41} // end of namespace isc::config
42} // end of namespace isc
43
44#endif // CONFIG_TIMEOUTS_H
isc::config
Definition command_interpreter.cc:23
isc::config::TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST
constexpr long TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST
Timeout for the HTTP clients awaiting a response to a request.
Definition timeouts.h:38
isc::config::TIMEOUT_AGENT_IDLE_CONNECTION_TIMEOUT
constexpr long TIMEOUT_AGENT_IDLE_CONNECTION_TIMEOUT
Timeout for the idle connection to be closed.
Definition timeouts.h:24
isc::config::TIMEOUT_DHCP_SERVER_RECEIVE_COMMAND
constexpr long TIMEOUT_DHCP_SERVER_RECEIVE_COMMAND
Timeout for the DHCP server to receive command over the unix domain socket.
Definition timeouts.h:17
isc::config::TIMEOUT_AGENT_FORWARD_COMMAND
constexpr long TIMEOUT_AGENT_FORWARD_COMMAND
Timeout for the Control Agent to forward command to a Kea server, e.g.
Definition timeouts.h:31
isc::config::TIMEOUT_AGENT_RECEIVE_COMMAND
constexpr long TIMEOUT_AGENT_RECEIVE_COMMAND
Timeout for the Control Agent to receive command over the RESTful interface.
Definition timeouts.h:21
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148