acl/lib_acl_cpp/include/acl_cpp/connpool/tcp_pool.hpp

22 lines
355 B
C++
Raw Normal View History

#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