From b62ea3ab0eb6abcdc51cf1a816eb5210171de171 Mon Sep 17 00:00:00 2001 From: malloc Date: Wed, 18 Apr 2018 16:58:49 -0500 Subject: [PATCH] imagine nothing --- server/src/hosts/master.hpp | 6 ++++-- server/src/hosts/master_intra.cpp | 2 +- server/src/hosts/slave.hpp | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/server/src/hosts/master.hpp b/server/src/hosts/master.hpp index 76dc079..73bef52 100644 --- a/server/src/hosts/master.hpp +++ b/server/src/hosts/master.hpp @@ -12,7 +12,7 @@ class MasterClient { public: private: - ScapeConnection sock; + ScapeConnection client; }; class MasterClientPool : public Pool { @@ -25,8 +25,10 @@ protected: class MasterIntra { public: MasterIntra(IntraClient client); + + void Close(); private: - IntraClient sock; + IntraClient client; }; class MasterIntraPool : public Pool { diff --git a/server/src/hosts/master_intra.cpp b/server/src/hosts/master_intra.cpp index db2510e..10fe18d 100644 --- a/server/src/hosts/master_intra.cpp +++ b/server/src/hosts/master_intra.cpp @@ -1,7 +1,7 @@ #include "master.hpp" sosc::MasterIntra::MasterIntra(IntraClient client) { - + this->client = client; } bool sosc::MasterIntraPool::ProcessClient(MasterIntra client) { diff --git a/server/src/hosts/slave.hpp b/server/src/hosts/slave.hpp index fa4ff1e..6a8257d 100644 --- a/server/src/hosts/slave.hpp +++ b/server/src/hosts/slave.hpp @@ -9,7 +9,7 @@ class SlaveClient { public: private: - ScapeConnection sock; + ScapeConnection client; }; class SlavePool : public Pool {