acl/app/master_dispatch/server/ClientConnection.h
2014-11-19 00:25:21 +08:00

19 lines
294 B
C++

#pragma once
#include "IConnection.h"
class ClientConnection : public IConnection
{
public:
ClientConnection(acl::aio_socket_stream* conn, int ttl);
~ClientConnection();
bool expired() const;
protected:
// 基类纯虚函数
void run();
private:
long long int expire_;
};