android: adjust for recent rpc changes

This commit is contained in:
Simon Fels 2016-08-23 09:51:14 +02:00
commit 1c9ebae83d
10 changed files with 50 additions and 42 deletions

View file

@ -21,7 +21,7 @@
#include "android/service/android_api_skeleton.h"
#include "android/service/platform_api_stub.h"
#include "anbox/bridge/rpc_channel.h"
#include "anbox/rpc/channel.h"
#include <functional>
#include <array>
@ -29,10 +29,10 @@
namespace anbox {
HostConnector::HostConnector() :
socket_(std::make_shared<LocalSocketConnection>("/dev/anbox_bridge")),
pending_calls_(std::make_shared<bridge::PendingCallCache>()),
pending_calls_(std::make_shared<rpc::PendingCallCache>()),
android_api_skeleton_(std::make_shared<AndroidApiSkeleton>()),
message_processor_(std::make_shared<MessageProcessor>(socket_, pending_calls_, android_api_skeleton_)),
rpc_channel_(std::make_shared<bridge::RpcChannel>(pending_calls_, socket_)),
rpc_channel_(std::make_shared<rpc::Channel>(pending_calls_, socket_)),
platform_api_stub_(std::make_shared<PlatformApiStub>(rpc_channel_)),
running_(false) {
}