mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 17:00:52 +08:00
22 lines
355 B
C++
22 lines
355 B
C++
|
#pragma once
|
||
|
#include "../acl_cpp_define.hpp"
|
||
|
#include "connect_pool.hpp"
|
||
|
|
||
|
namespace acl
|
||
|
{
|
||
|
|
||
|
class connect_client;
|
||
|
|
||
|
class ACL_CPP_API tcp_pool : public connect_pool
|
||
|
{
|
||
|
public:
|
||
|
tcp_pool(const char* addr, size_t count, size_t idx = 0);
|
||
|
virtual ~tcp_pool(void);
|
||
|
|
||
|
protected:
|
||
|
// @override
|
||
|
virtual connect_client* create_connect(void);
|
||
|
};
|
||
|
|
||
|
} // namespace acl
|