summaryrefslogtreecommitdiff
path: root/src/components/application_manager/include/application_manager/commands/hmi/navi_audio_start_stream_request.h
diff options
context:
space:
mode:
authorAlexander Kutsan <AKutsan@luxoft.com>2015-04-27 12:06:05 +0300
committerAlexander Kutsan <AKutsan@luxoft.com>2015-04-27 12:18:06 +0300
commita7325ad7bb74bb43299a9f3b5745cea5130ea0dd (patch)
tree5b57dcf1512cb8f15d3e74393f36934a66dc770c /src/components/application_manager/include/application_manager/commands/hmi/navi_audio_start_stream_request.h
parent84f48cea8e100fce7d0fed7f6aec245e64eadc63 (diff)
downloadsdl_core-a7325ad7bb74bb43299a9f3b5745cea5130ea0dd.tar.gz
Remove Video stream retry timer, move logic to request.
Diffstat (limited to 'src/components/application_manager/include/application_manager/commands/hmi/navi_audio_start_stream_request.h')
-rw-r--r--src/components/application_manager/include/application_manager/commands/hmi/navi_audio_start_stream_request.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/components/application_manager/include/application_manager/commands/hmi/navi_audio_start_stream_request.h b/src/components/application_manager/include/application_manager/commands/hmi/navi_audio_start_stream_request.h
index 98f0262231..3e95c6b16b 100644
--- a/src/components/application_manager/include/application_manager/commands/hmi/navi_audio_start_stream_request.h
+++ b/src/components/application_manager/include/application_manager/commands/hmi/navi_audio_start_stream_request.h
@@ -57,9 +57,12 @@ class AudioStartStreamRequest : public RequestToHMI,
**/
virtual ~AudioStartStreamRequest();
- virtual bool Init();
-
+ /**
+ * @brief onTimeOut from requrst Controller
+ */
virtual void onTimeOut();
+
+
/**
* @brief Execute command
**/
@@ -70,10 +73,15 @@ class AudioStartStreamRequest : public RequestToHMI,
**/
virtual void on_event(const event_engine::Event& event);
- void RetryStartSession();
+ /**
+ * @brief RetryStartSession resend HMI startSession request if needed.
+ * If limit expired, set audio_stream_retry_number counter to 0
+ */
+ void RetryStartSession();
+
private:
- DISALLOW_COPY_AND_ASSIGN(AudioStartStreamRequest);
uint32_t retry_number_;
+ DISALLOW_COPY_AND_ASSIGN(AudioStartStreamRequest);
};
} // namespace commands