10Duke Scale C++ Client
All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
tenduke::ServiceConfiguration Class Reference

#include <ServiceConfiguration.h>

Detailed Description

Configuration for supporting services.

Public Member Functions

 ServiceConfiguration (const std::chrono::milliseconds &networkTimeout=std::chrono::milliseconds::zero(), const std::chrono::milliseconds &networkConnectionTimeout=std::chrono::seconds(60))
 Constructs new instance.
 

Public Attributes

const std::chrono::milliseconds networkConnectionTimeout
 Network connection timeout.
 
const std::chrono::milliseconds networkTimeout
 Network timeout.
 

Constructor & Destructor Documentation

◆ ServiceConfiguration()

tenduke::ServiceConfiguration::ServiceConfiguration ( const std::chrono::milliseconds & networkTimeout = std::chrono::milliseconds::zero(),
const std::chrono::milliseconds & networkConnectionTimeout = std::chrono::seconds(60) )
inline

Constructs new instance.

Parameters
networkTimeouttimeout for network response. Default: does not time out
networkConnectionTimeouttimeout for network connection. Default: 60 seconds.

The documentation for this class was generated from the following file: