working commit

This commit is contained in:
2026-04-27 11:53:11 +02:00
parent 43d1cfc2b4
commit ac88dbd051
14 changed files with 281 additions and 148 deletions
+6 -1
View File
@@ -9,10 +9,15 @@
#include <google/protobuf/message.h>
#include <netclient.hpp>
using pbMessage = google::protobuf::Message;
using pbMessagePtr = std::unique_ptr<pbMessage>;
class RPCClient {
private:
NetClient* connector;
public:
std::expected<void, std::string> Transaction(const pbMessage& req, pbMessage& res);
RPCClient(NetClient& iconnector);
std::expected<void, std::string> DoTransaction(const pbMessage& req, pbMessage& res);
};