summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/commands/command_impl.cc
diff options
context:
space:
mode:
authorJustin Dickow <jjdickow@gmail.com>2014-10-27 16:59:35 -0400
committerJustin Dickow <jjdickow@gmail.com>2014-10-27 16:59:35 -0400
commit1ad35342dfe2f92bc1deb734de504177596fc8d6 (patch)
treeb655799ef580fae979e1e66bf3b82dfdd3d42f45 /src/components/application_manager/src/commands/command_impl.cc
parent9da0cfe821c3c9252a543e1e4a344867de9dceee (diff)
downloadsdl_core-1ad35342dfe2f92bc1deb734de504177596fc8d6.tar.gz
3.10.1
Signed-off-by: Justin Dickow <jjdickow@gmail.com>
Diffstat (limited to 'src/components/application_manager/src/commands/command_impl.cc')
-rw-r--r--src/components/application_manager/src/commands/command_impl.cc12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/components/application_manager/src/commands/command_impl.cc b/src/components/application_manager/src/commands/command_impl.cc
index af666b22c4..86b764c46a 100644
--- a/src/components/application_manager/src/commands/command_impl.cc
+++ b/src/components/application_manager/src/commands/command_impl.cc
@@ -70,11 +70,21 @@ uint32_t CommandImpl::default_timeout() const {
return default_timeout_;
}
-
uint32_t CommandImpl::correlation_id() const {
return (*message_)[strings::params][strings::correlation_id].asUInt();
}
+int32_t CommandImpl::function_id() const {
+ return (*message_)[strings::params][strings::function_id].asInt();
+}
+
+uint32_t CommandImpl::connection_key() const {
+ return (*message_)[strings::params][strings::connection_key].asUInt();
+}
+
+void CommandImpl::onTimeOut() {
+
+}
} // namespace commands
} // namespace application_manager