abstract common tcp operations to a base class
This commit is contained in:
@@ -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_;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user