ddt  0.1
ddtConstants.hpp
Go to the documentation of this file.
1 // @copyright
2 // (c) Copyright ESO 2020
3 // All Rights Reserved
4 // ESO (eso.org) is an Intergovernmental Organization, and therefore special
5 // legal conditions apply.
6 //
7 // @file ddtConstants.hpp
8 // @brief Contains common used constants.
9 //
10 // This file shall contain constants that can be used by all applications.
11 //
12 // @author Matthias Grimm, CGI
13 // @since 2021/02/18
14 //
15 
16 #ifndef DDTCONSTANTS_HPP_
17 #define DDTCONSTANTS_HPP_
18 
19 namespace ddt {
20 
25 const int NUMERICAL_BASE = 10;
26 
30 const int HEARTBEAT_PAUSE_MS = 10;
31 
35 const int THREAD_PAUSE_MS = 100;
36 
40 const int THREAD_PAUSE_SEC = 1;
41 
45 const int WAIT_FOR_CONNECT = 3;
46 
50 const int PUBLISH_TIMEOUT = 3;
51 
55 const int REGISTRATION_TIMEOUT = 3;
56 
60 const int WAIT_FOR_CONNECTION = 10;
61 
65 const int META_DATA_LENGTH = 1024;
66 
70 const int REPLY_TIME_INFINITE = 86400;
71 
75 const int ADDITIONAL_SPACE = 1500;
76 } // namespace ddt
77 
78 #endif /* DDTCONSTANTS_HPP_ */
ddt::META_DATA_LENGTH
const int META_DATA_LENGTH
Definition: ddtConstants.hpp:65
ddt::THREAD_PAUSE_SEC
const int THREAD_PAUSE_SEC
Definition: ddtConstants.hpp:40
ddt::WAIT_FOR_CONNECTION
const int WAIT_FOR_CONNECTION
Definition: ddtConstants.hpp:60
ddt::THREAD_PAUSE_MS
const int THREAD_PAUSE_MS
Definition: ddtConstants.hpp:35
ddt
Definition: ddtClient.hpp:36
ddt::ADDITIONAL_SPACE
const int ADDITIONAL_SPACE
Definition: ddtConstants.hpp:75
ddt::WAIT_FOR_CONNECT
const int WAIT_FOR_CONNECT
Definition: ddtConstants.hpp:45
ddt::HEARTBEAT_PAUSE_MS
const int HEARTBEAT_PAUSE_MS
Definition: ddtConstants.hpp:30
ddt::REGISTRATION_TIMEOUT
const int REGISTRATION_TIMEOUT
Definition: ddtConstants.hpp:55
ddt::PUBLISH_TIMEOUT
const int PUBLISH_TIMEOUT
Definition: ddtConstants.hpp:50
ddt::REPLY_TIME_INFINITE
const int REPLY_TIME_INFINITE
Definition: ddtConstants.hpp:70
ddt::NUMERICAL_BASE
const int NUMERICAL_BASE
Definition: ddtConstants.hpp:25