#pragma once #include "cmixprotofunctor.hpp" #include "receiver.hpp" #include "sender.hpp" #include "protobufclient.hpp" struct SenderReceiver : private ProtobufClient { explicit SenderReceiver(Receiver&& r); explicit SenderReceiver(Sender&& s); using ProtobufClient::ProtobufClient; using ProtobufClient::async_receive; using ProtobufClient::async_send; using ProtobufClient::async_connect; using ProtobufClient::close; using ProtobufClient::on_done; using ProtobufClient::is_open; };