#pragma once

class gc_timer : public acl::aio_timer_callback
{
public:
	gc_timer(acl::aio_handle& handle);

	void start(int delay);
	void stop();
private:
	~gc_timer();

	acl::aio_handle& handle_;

	// 基类纯虚函数
	virtual void timer_callback(unsigned int id);
	virtual void destroy(void);
};
