20 #ifndef MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_
21 #define MIR_FRONTEND_PROTOBUF_MESSAGE_PROCESSOR_H_
25 #include "mir_protobuf.pb.h"
31 namespace protobuf {
class DisplayServer; }
35 class MessageProcessorReport;
39 class ProtobufMessageSender;
45 std::shared_ptr<ProtobufMessageSender>
const& sender,
46 std::shared_ptr<protobuf::DisplayServer>
const& display_server,
47 std::shared_ptr<MessageProcessorReport>
const& report);
51 void send_response(::google::protobuf::uint32
id, ::google::protobuf::Message* response);
52 void send_response(::google::protobuf::uint32
id, protobuf::Buffer* response);
53 void send_response(::google::protobuf::uint32
id, protobuf::Connection* response);
54 void send_response(::google::protobuf::uint32
id, protobuf::Surface* response);
55 void send_response(::google::protobuf::uint32
id, std::shared_ptr<protobuf::Buffer> response);
56 void send_response(::google::protobuf::uint32
id, mir::protobuf::Screencast* response);
61 std::shared_ptr<ProtobufMessageSender>
const sender;
62 std::shared_ptr<protobuf::DisplayServer>
const display_server;
63 std::shared_ptr<MessageProcessorReport>
const report;
Definition: message_processor.h:37
Definition: protobuf_message_processor.h:41
Definition: message_processor.h:50
void send_response(::google::protobuf::uint32 id,::google::protobuf::Message *response)
Definition: protobuf_message_processor.cpp:198
ProtobufMessageProcessor(std::shared_ptr< ProtobufMessageSender > const &sender, std::shared_ptr< protobuf::DisplayServer > const &display_server, std::shared_ptr< MessageProcessorReport > const &report)
Definition: protobuf_message_processor.cpp:40
~ProtobufMessageProcessor() noexcept
Definition: protobuf_message_processor.h:49