19 #ifndef MIR_FRONTEND_MESSAGE_PROCESSOR_H_
20 #define MIR_FRONTEND_MESSAGE_PROCESSOR_H_
22 #include <google/protobuf/service.h>
42 Invocation(mir::protobuf::wire::Invocation
const& invocation) :
43 invocation(invocation) {}
47 ::google::protobuf::uint32
id()
const;
49 mir::protobuf::wire::Invocation
const& invocation;
55 virtual bool dispatch(
Invocation const& invocation, std::vector<mir::Fd>
const& side_channel_fds) = 0;
All things Mir.
Definition: buffer_stream.h:37
Definition: message_processor.h:39
MessageProcessor()=default
const ::std::string & method_name() const
Invocation(mir::protobuf::wire::Invocation const &invocation)
Definition: message_processor.h:42
::google::protobuf::uint32 id() const
MessageProcessor & operator=(MessageProcessor const &)=delete
virtual ~MessageProcessor()=default
Definition: message_processor.h:52
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