virtual void listen(mp::SocketId listen_fd, interfaces::Init &init)=0
Listen for connections on provided socket id, accept them, and handle requests on accepted connection...
virtual void addCleanup(std::type_index type, void *iface, std::function< void()> cleanup)=0
Add cleanup callback to interface that will run when the interface is deleted.
virtual void serve(interfaces::Init &init, const std::function< mp::Stream()> &make_stream)=0
Handle requests from a stream provided by the make_stream callback, forwarding them to the provided I...
Context struct used to give IPC protocol implementations or implementation hooks access to applicatio...