10Duke Scale C++ Client
Loading...
Searching...
No Matches
ServiceConfiguration.h
1#ifndef TENDUKE_SERVICECONFIGURATION_H
2#define TENDUKE_SERVICECONFIGURATION_H
3
4#include <chrono>
5
6namespace tenduke {
7
12{
13public:
20 const std::chrono::milliseconds &networkTimeout = std::chrono::milliseconds::zero()
21 , const std::chrono::milliseconds &networkConnectionTimeout = std::chrono::seconds(60)
24 {}
25
26public:
28 const std::chrono::milliseconds networkConnectionTimeout;
30 const std::chrono::milliseconds networkTimeout;
31};
32
33}
34
35#endif //TENDUKE_SERVICECONFIGURATION_H
Configuration for supporting services.
Definition ServiceConfiguration.h:12
const std::chrono::milliseconds networkTimeout
Network timeout.
Definition ServiceConfiguration.h:30
const std::chrono::milliseconds networkConnectionTimeout
Network connection timeout.
Definition ServiceConfiguration.h:28
ServiceConfiguration(const std::chrono::milliseconds &networkTimeout=std::chrono::milliseconds::zero(), const std::chrono::milliseconds &networkConnectionTimeout=std::chrono::seconds(60))
Constructs new instance.
Definition ServiceConfiguration.h:19
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7