mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 08:50:53 +08:00
9697f95b8f
This reverts commit 15d999759e
.
23 lines
382 B
C++
23 lines
382 B
C++
#pragma once
|
|
|
|
#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_;
|
|
};
|