19 #ifndef MIR_FRONTEND_MESSAGE_PROCESSOR_H_
20 #define MIR_FRONTEND_MESSAGE_PROCESSOR_H_
22 #include <google/protobuf/stubs/common.h>
43 Invocation(mir::protobuf::wire::Invocation
const& invocation) :
44 invocation(invocation) {}
48 google::protobuf::uint32
id()
const;
50 mir::protobuf::wire::Invocation
const& invocation;
56 virtual bool dispatch(
Invocation const& invocation, std::vector<mir::Fd>
const& side_channel_fds) = 0;
All things Mir.
Definition: atomic_callback.h:25
Definition: message_processor.h:40
MessageProcessor()=default
google::protobuf::uint32 id() const
const ::std::string & method_name() const
Invocation(mir::protobuf::wire::Invocation const &invocation)
Definition: message_processor.h:43
MessageProcessor & operator=(MessageProcessor const &)=delete
virtual ~MessageProcessor()=default
Definition: message_processor.h:53
const ::std::string & parameters() const
virtual void client_pid(int pid)=0
virtual bool dispatch(Invocation const &invocation, std::vector< mir::Fd > const &side_channel_fds)=0