Files
stvpn/abrpchandler.hpp
T
Олег Бородин bd4df1e3da working commit
2026-04-29 18:49:19 +02:00

27 lines
544 B
C++

#ifndef NETHANDLER_HPP
#define NETHANDLER_HPP
#include <expected>
#include <string>
#include <vector>
#include <span>
#include <iostream>
#include <sstream>
#include <netclient.hpp>
class AbstractRPCHandler {
public:
AbstractRPCHandler(void);
virtual std::expected<void, std::string> Handle(std::string& req, std::string& res);
virtual ~AbstractRPCHandler(void);
AbstractRPCHandler(const AbstractRPCHandler&) = delete;
AbstractRPCHandler& operator=(const AbstractRPCHandler&) = delete;
};
#endif