deleted slaves
This commit is contained in:
parent
1d0a382eed
commit
9932c52494
1 changed files with 4 additions and 1 deletions
|
@ -10,7 +10,10 @@ namespace sosc {
|
||||||
|
|
||||||
class SlaveClient {
|
class SlaveClient {
|
||||||
public:
|
public:
|
||||||
|
SlaveClient() = delete;
|
||||||
explicit SlaveClient(const ScapeConnection& client);
|
explicit SlaveClient(const ScapeConnection& client);
|
||||||
|
|
||||||
|
~SlaveClient();
|
||||||
private:
|
private:
|
||||||
ScapeConnection sock;
|
ScapeConnection sock;
|
||||||
};
|
};
|
||||||
|
@ -18,7 +21,7 @@ private:
|
||||||
class SlaveClientPool : public Pool<SlaveClient, ctx::SlaveContext> {
|
class SlaveClientPool : public Pool<SlaveClient, ctx::SlaveContext> {
|
||||||
protected:
|
protected:
|
||||||
bool ProcessClient
|
bool ProcessClient
|
||||||
(SlaveClient& client,
|
(SlaveClient* client,
|
||||||
ctx::SlaveContext* context,
|
ctx::SlaveContext* context,
|
||||||
const db::Queries* queries) override
|
const db::Queries* queries) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue