From 89720d3c63bbd22cbccc80cdc92c2f2dd20193ba Mon Sep 17 00:00:00 2001 From: Lutz Bichler Date: Tue, 27 Oct 2020 10:02:03 +0100 Subject: capicxx-core-runtime 3.2.0 --- include/CommonAPI/Runtime.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/CommonAPI/Runtime.hpp') diff --git a/include/CommonAPI/Runtime.hpp b/include/CommonAPI/Runtime.hpp index afd9fa0..61bd5fe 100644 --- a/include/CommonAPI/Runtime.hpp +++ b/include/CommonAPI/Runtime.hpp @@ -1,10 +1,10 @@ -// Copyright (C) 2013-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) +// Copyright (C) 2013-2020 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #if !defined (COMMONAPI_INTERNAL_COMPILATION) -#error "Only can be included directly, this file may disappear or change contents." +#error "Only can be included directly, this file may disappear or change contents." #endif #ifndef COMMONAPI_RUNTIME_HPP_ @@ -39,8 +39,6 @@ public: COMMONAPI_EXPORT Runtime(); COMMONAPI_EXPORT virtual ~Runtime(); - COMMONAPI_EXPORT void init(); - template class ProxyClass_, typename ... AttributeExtensions_> COMMONAPI_EXPORT std::shared_ptr< ProxyClass_ @@ -138,8 +136,10 @@ public: inline const std::string &getDefaultBinding() const { return defaultBinding_; }; COMMONAPI_EXPORT void initFactories(); + COMMONAPI_EXPORT Timeout_t getDefaultCallTimeout() const; private: + COMMONAPI_EXPORT void init(); COMMONAPI_EXPORT bool readConfiguration(); COMMONAPI_EXPORT bool splitAddress(const std::string &, std::string &, std::string &, std::string &); @@ -174,6 +174,7 @@ private: std::string defaultBinding_; std::string defaultFolder_; std::string defaultConfig_; + Timeout_t defaultCallTimeout_; std::map> factories_; std::shared_ptr defaultFactory_; -- cgit v1.2.1