diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2019-04-01 16:24:58 -0400 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2019-04-01 16:29:54 -0400 |
commit | 31041084b3ded5367a97060c081976e9e3251985 (patch) | |
tree | 1544ab0fbece36e2b5d897dfc19f07bee1c6b826 /src/components/application_manager/include/application_manager/commands/request_from_hmi.h | |
parent | abdfa1d970c9d965a1f05d0b26fa3b8d350bb265 (diff) | |
download | sdl_core-fix/no_hmi_response_on_timeout.tar.gz |
Add timeout logic for HMI App Service Consumer RPCsfix/no_hmi_response_on_timeout
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands/request_from_hmi.h')
-rw-r--r-- | src/components/application_manager/include/application_manager/commands/request_from_hmi.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/request_from_hmi.h b/src/components/application_manager/include/application_manager/commands/request_from_hmi.h index a37e0a289e..4464056175 100644 --- a/src/components/application_manager/include/application_manager/commands/request_from_hmi.h +++ b/src/components/application_manager/include/application_manager/commands/request_from_hmi.h @@ -61,6 +61,8 @@ class RequestFromHMI : public CommandImpl, public event_engine::EventObserver { * @param correlation_id the correlation id for the rfesponse. * @param function_id the function id for which response will be sent * @param result_code the result code. + * @param response_params extra response params. + * @param source command source. */ void SendResponse( const bool success, @@ -76,11 +78,14 @@ class RequestFromHMI : public CommandImpl, public event_engine::EventObserver { * @param function_id the function id for which response will be sent * @param result_code the result code. * @param error_message info message for error. + * @param source command source. */ - void SendErrorResponse(const uint32_t correlation_id, - const hmi_apis::FunctionID::eType function_id, - const hmi_apis::Common_Result::eType result_code, - const std::string error_message); + void SendErrorResponse( + const uint32_t correlation_id, + const hmi_apis::FunctionID::eType function_id, + const hmi_apis::Common_Result::eType result_code, + const std::string error_message, + commands::Command::CommandSource source = commands::Command::SOURCE_HMI); void SendProviderRequest( const mobile_apis::FunctionID::eType& mobile_function_id, |