19 #ifndef MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_
20 #define MIR_FRONTEND_PROTOBUF_CONNECTION_CREATOR_H_
31 class MessageProcessorReport;
32 class ProtobufIpcFactory;
33 class SessionAuthorizer;
38 class SocketConnection;
39 class MessageProcessor;
40 class ProtobufMessageSender;
47 std::shared_ptr<ProtobufIpcFactory>
const& ipc_factory,
48 std::shared_ptr<SessionAuthorizer>
const& session_authorizer,
49 std::shared_ptr<MessageProcessorReport>
const& report);
53 std::shared_ptr<boost::asio::local::stream_protocol::socket>
const& socket,
57 std::shared_ptr<detail::ProtobufMessageSender>
const& sender,
58 std::shared_ptr<detail::DisplayServer>
const& display_server,
59 std::shared_ptr<MessageProcessorReport>
const& report)
const;
64 std::shared_ptr<ProtobufIpcFactory>
const ipc_factory;
65 std::shared_ptr<SessionAuthorizer>
const session_authorizer;
66 std::shared_ptr<MessageProcessorReport>
const report;
67 std::atomic<int> next_session_id;
68 std::shared_ptr<detail::Connections<detail::SocketConnection>>
const connections;
All things Mir.
Definition: aging_buffer.h:24
virtual std::shared_ptr< detail::MessageProcessor > create_processor(std::shared_ptr< detail::ProtobufMessageSender > const &sender, std::shared_ptr< detail::DisplayServer > const &display_server, std::shared_ptr< MessageProcessorReport > const &report) const
Definition: protobuf_connection_creator.cpp:84
void create_connection_for(std::shared_ptr< boost::asio::local::stream_protocol::socket > const &socket, ConnectionContext const &connection_context) override
Definition: protobuf_connection_creator.cpp:58
Definition: connection_context.h:32
~ProtobufConnectionCreator() noexcept
Definition: protobuf_connection_creator.cpp:48
Definition: connection_creator.h:32
Definition: protobuf_connection_creator.h:43
ProtobufConnectionCreator(std::shared_ptr< ProtobufIpcFactory > const &ipc_factory, std::shared_ptr< SessionAuthorizer > const &session_authorizer, std::shared_ptr< MessageProcessorReport > const &report)
Definition: protobuf_connection_creator.cpp:36