19 #ifndef MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_ 20 #define MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_ 29 namespace graphics {
class PlatformIpcOperations; }
32 class MessageProcessorReport;
33 class ProtobufIpcFactory;
34 class SessionAuthorizer;
39 class SocketConnection;
40 class MessageProcessor;
41 class ProtobufMessageSender;
48 std::shared_ptr<ProtobufIpcFactory>
const& ipc_factory,
49 std::shared_ptr<SessionAuthorizer>
const& session_authorizer,
50 std::shared_ptr<graphics::PlatformIpcOperations>
const& operations,
51 std::shared_ptr<MessageProcessorReport>
const& report);
54 void create_connection_for(
55 std::shared_ptr<boost::asio::local::stream_protocol::socket>
const& socket,
58 virtual std::shared_ptr<detail::MessageProcessor> create_processor(
59 std::shared_ptr<detail::ProtobufMessageSender>
const& sender,
60 std::shared_ptr<detail::DisplayServer>
const& display_server,
61 std::shared_ptr<MessageProcessorReport>
const& report)
const;
66 std::shared_ptr<ProtobufIpcFactory>
const ipc_factory;
67 std::shared_ptr<SessionAuthorizer>
const session_authorizer;
68 std::shared_ptr<graphics::PlatformIpcOperations>
const operations;
69 std::shared_ptr<MessageProcessorReport>
const report;
70 std::atomic<int> next_session_id;
71 std::shared_ptr<detail::Connections<detail::SocketConnection>>
const connections;
All things Mir.
Definition: atomic_callback.h:25
Definition: connection_context.h:32
Definition: connection_creator.h:32
Definition: protobuf_connection_creator.h:44