Code Review 3

This commit is contained in:
2026-07-13 16:46:32 +02:00
parent cfd4bd4baa
commit d946ce55a5
22 changed files with 160 additions and 100 deletions
@@ -30,6 +30,11 @@ inline ProcessedResult send_ok(ServerInterface &socket) {
static_cast<ReturnCode>(socket.Send(ReturnCode::OK))};
}
template <typename T>
inline ProcessedResult send_result(ServerInterface &socket, const T &value) {
return ProcessedResult{static_cast<ReturnCode>(socket.sendResult(value))};
}
/**
* @brief TCPInterface class handles communication and processing of commands
* from Client to Server.