acl/lib_acl_cpp/samples/thread_client/thread_client.h

19 lines
421 B
C
Raw Normal View History

#pragma once
2014-11-19 00:25:21 +08:00
class thread_client : public acl::thread
{
public:
thread_client(const char* server_addr, bool keep_alive,
int count, int length);
~thread_client();
protected:
virtual void* run(); // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E9BAAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߳<EFBFBD><DFB3>б<EFBFBD><D0B1><EFBFBD><EFBFBD><EFBFBD>
2014-11-19 00:25:21 +08:00
private:
acl::string server_addr_; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ
bool keep_alive_; // <20>Ƿ<EFBFBD><C7B7><EFBFBD><EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD>ӷ<EFBFBD>ʽ
int count_; // IO <20><EFBFBD><E1BBB0><EFBFBD><EFBFBD>
int length_; // ÿ<><C3BF> IO <20><><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
2014-11-19 00:25:21 +08:00
};