~raof/mir/symbols-file

« back to all changes in this revision

Viewing changes to src/server/frontend/message_processor.h

Implement a connection authorization mechanism.

Approved by Gerry Boland, Alan Griffiths, Robert Ancell, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <iosfwd>
26
26
#include <cstdint>
27
27
 
 
28
#include <sys/types.h>
 
29
 
28
30
namespace mir
29
31
{
30
32
namespace frontend
35
37
{
36
38
    virtual void send(std::string const& body) = 0;
37
39
    virtual void send_fds(std::vector<int32_t> const& fd) = 0;
 
40
 
 
41
    virtual pid_t client_pid() = 0;
38
42
protected:
39
43
    MessageSender() = default;
40
44
    virtual ~MessageSender() { /* TODO: make nothrow */ }