close
This commit is contained in:
@@ -16,7 +16,7 @@ public:
|
||||
int pingCnt() const { return ping_cnt; }
|
||||
|
||||
void ping() {
|
||||
const auto data = PIByteArray(WriteSize);
|
||||
const auto data = PIByteArray(WriteSize);
|
||||
writeInternal(data);
|
||||
ping_cnt++;
|
||||
}
|
||||
@@ -43,6 +43,9 @@ class TestServerClient
|
||||
, public TestClientBase<WriteSize, WithPong> {
|
||||
using Base = TestClientBase<WriteSize, WithPong>;
|
||||
|
||||
public:
|
||||
~TestServerClient() { close(); }
|
||||
|
||||
private:
|
||||
void readed(PIByteArray data) override { Base::readInternal(data); }
|
||||
|
||||
@@ -62,6 +65,9 @@ class TestClient
|
||||
, public TestClientBase<WriteSize, WithPong> {
|
||||
using Base = TestClientBase<WriteSize, WithPong>;
|
||||
|
||||
public:
|
||||
~TestClient() { close(); }
|
||||
|
||||
private:
|
||||
void readed(PIByteArray data) override { Base::readInternal(data); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user