summaryrefslogtreecommitdiff
path: root/src/components/application_manager/rpc_plugins/sdl_rpc_plugin/src/commands/mobile/get_cloud_app_properties_response.cc
blob: 813a9e700664d4086cdb263dd3748b44fb5cf065 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "application_manager/application_manager.h"
#include "application_manager/rpc_service.h"
#include "sdl_rpc_plugin/commands/mobile/get_cloud_app_properties_response.h"

namespace sdl_rpc_plugin {
using namespace application_manager;

namespace commands {

GetCloudAppPropertiesResponse::GetCloudAppPropertiesResponse(
    const app_mngr::commands::MessageSharedPtr& message,
    app_mngr::ApplicationManager& application_manager,
    app_mngr::rpc_service::RPCService& rpc_service,
    app_mngr::HMICapabilities& hmi_capabilities,
    policy::PolicyHandlerInterface& policy_handler)
    : CommandResponseImpl(message,
                          application_manager,
                          rpc_service,
                          hmi_capabilities,
                          policy_handler) {}

GetCloudAppPropertiesResponse::~GetCloudAppPropertiesResponse() {}

void GetCloudAppPropertiesResponse::Run() {
  LOG4CXX_AUTO_TRACE(logger_);

  rpc_service_.SendMessageToMobile(message_);
}

}  // namespace commands
}  // namespace sdl_rpc_plugins