From 070089ca3a71980eee8eba27fb2fbdce8835f29e Mon Sep 17 00:00:00 2001 From: "Sergey Levchenko (GitHub)" Date: Wed, 22 Mar 2017 12:09:26 +0200 Subject: Add const and description to some methods of PolicyHandler --- .../include/application_manager/policies/policy_handler.h | 10 ++++++++++ .../application_manager/policies/policy_handler_interface.h | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/components/application_manager/include/application_manager/policies/policy_handler.h b/src/components/application_manager/include/application_manager/policies/policy_handler.h index 4c7f6d6adc..9de2d6af68 100644 --- a/src/components/application_manager/include/application_manager/policies/policy_handler.h +++ b/src/components/application_manager/include/application_manager/policies/policy_handler.h @@ -190,7 +190,17 @@ class PolicyHandler : public PolicyHandlerInterface, EndpointUrls& out_end_points) OVERRIDE; virtual std::string GetLockScreenIconUrl() const OVERRIDE; uint32_t NextRetryTimeout() OVERRIDE; + + /** + * Gets timeout to wait until receive response + * @return timeout in seconds + */ uint32_t TimeoutExchangeSec() const OVERRIDE; + + /** + * Gets timeout to wait until receive response + * @return timeout in miliseconds + */ uint32_t TimeoutExchangeMSec() const OVERRIDE; void OnExceededTimeout() OVERRIDE; void OnSystemReady() OVERRIDE; diff --git a/src/components/include/application_manager/policies/policy_handler_interface.h b/src/components/include/application_manager/policies/policy_handler_interface.h index 4d2d09b412..d7e9f1cea7 100644 --- a/src/components/include/application_manager/policies/policy_handler_interface.h +++ b/src/components/include/application_manager/policies/policy_handler_interface.h @@ -106,7 +106,17 @@ class PolicyHandlerInterface { EndpointUrls& out_end_points) = 0; virtual std::string GetLockScreenIconUrl() const = 0; virtual uint32_t NextRetryTimeout() = 0; + + /** + * Gets timeout to wait until receive response + * @return timeout in seconds + */ virtual uint32_t TimeoutExchangeSec() const = 0; + + /** + * Gets timeout to wait until receive response + * @return timeout in miliseconds + */ virtual uint32_t TimeoutExchangeMSec() const = 0; virtual void OnExceededTimeout() = 0; virtual void OnSystemReady() = 0; -- cgit v1.2.1