Rework some of the RPC service bits and add boot support

This commit is contained in:
Simon Fels 2016-07-04 12:10:31 +02:00
commit 1879e634c5
39 changed files with 746 additions and 106 deletions

View file

@ -21,22 +21,20 @@
#include "anbox/bridge/message_processor.h"
namespace anbox {
namespace android {
class PlatformApi;
class AndroidApiSkeleton;
class MessageProcessor : public bridge::MessageProcessor {
public:
MessageProcessor(const std::shared_ptr<network::MessageSender> &sender,
const std::shared_ptr<bridge::PendingCallCache> &pending_calls,
const std::shared_ptr<PlatformApi> &platform_api);
const std::shared_ptr<AndroidApiSkeleton> &platform_api);
~MessageProcessor();
void dispatch(bridge::Invocation const& invocation) override;
void process_event_sequence(const std::string &event) override;
private:
std::shared_ptr<PlatformApi> platform_api_;
std::shared_ptr<AndroidApiSkeleton> platform_api_;
};
} // namespace anbox
} // namespace network
#endif