abstract common tcp operations to a base class

This commit is contained in:
2026-07-18 22:36:01 -05:00
parent aa007a3130
commit 001bd8e629
8 changed files with 216 additions and 41 deletions

View File

@@ -11,9 +11,10 @@
#include "common/config/ConfigService.hpp"
#include "common/LoggerService.hpp"
#include "common/ErrorCodes.hpp"
#include "common/TcpBase.hpp"
#include "config/ClientConfig.hpp"
class TcpClient {
class TcpClient : TcpBase {
public:
@@ -24,8 +25,6 @@ private:
ErrorCode init();
LoggerService* logger_;
ConfigService* config_;
ClientParams configuration_;
};