#pragma once #include "cmixprotofunctor.hpp" #include "protobufclient.hpp" /*! * \file */ struct SenderReceiver; /*! * \brief The Receiver struct is a shim around ProtobufClient and only exposes things needed * for receiving messages. */ struct Receiver : private ProtobufClient { /*! * \brief friend decleration allowing Receivers to be upgraded to SenderReceivers. */ friend SenderReceiver; using ProtobufClient::ProtobufClient; using ProtobufClient::async_receive; using ProtobufClient::async_connect; using ProtobufClient::close; using ProtobufClient::on_done; using ProtobufClient::is_open; };