imagine nothing
This commit is contained in:
parent
90afd3b1c4
commit
b62ea3ab0e
3 changed files with 6 additions and 4 deletions
|
@ -12,7 +12,7 @@ class MasterClient {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ScapeConnection sock;
|
ScapeConnection client;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MasterClientPool : public Pool<MasterClient> {
|
class MasterClientPool : public Pool<MasterClient> {
|
||||||
|
@ -25,8 +25,10 @@ protected:
|
||||||
class MasterIntra {
|
class MasterIntra {
|
||||||
public:
|
public:
|
||||||
MasterIntra(IntraClient client);
|
MasterIntra(IntraClient client);
|
||||||
|
|
||||||
|
void Close();
|
||||||
private:
|
private:
|
||||||
IntraClient sock;
|
IntraClient client;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MasterIntraPool : public Pool<MasterIntra> {
|
class MasterIntraPool : public Pool<MasterIntra> {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "master.hpp"
|
#include "master.hpp"
|
||||||
|
|
||||||
sosc::MasterIntra::MasterIntra(IntraClient client) {
|
sosc::MasterIntra::MasterIntra(IntraClient client) {
|
||||||
|
this->client = client;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool sosc::MasterIntraPool::ProcessClient(MasterIntra client) {
|
bool sosc::MasterIntraPool::ProcessClient(MasterIntra client) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ class SlaveClient {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ScapeConnection sock;
|
ScapeConnection client;
|
||||||
};
|
};
|
||||||
|
|
||||||
class SlavePool : public Pool<SlaveClient*> {
|
class SlavePool : public Pool<SlaveClient*> {
|
||||||
|
|
Loading…
Reference in a new issue