acl/app/master/daemon/manage/manager.h

23 lines
382 B
C
Raw Normal View History

#pragma once
2018-12-12 11:16:12 +08:00
#include "http_server.h"
class manager : public acl::singleton<manager>
{
public:
manager(void);
~manager(void);
void init(ACL_EVENT* event, const char* addr, int timeout);
ACL_AIO* get_aio(void) const
{
return aio_;
}
private:
ACL_EVENT* event_;
ACL_AIO* aio_;
acl::aio_handle* handle_;
http_server* server_;
};