epoll 事件循环
更多...
#include <EpollEventLoop.h>
◆ ~EpollEventLoop()
sese::event::EpollEventLoop::~EpollEventLoop |
( |
| ) |
|
|
override |
◆ createEvent()
sese::event::BaseEvent * sese::event::EpollEventLoop::createEvent |
( |
int | fd, |
|
|
unsigned int | events, |
|
|
void * | data ) |
|
overridevirtual |
◆ dispatch()
void sese::event::EpollEventLoop::dispatch |
( |
uint32_t | timeout | ) |
|
|
overridevirtual |
◆ freeEvent()
void sese::event::EpollEventLoop::freeEvent |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ init()
bool sese::event::EpollEventLoop::init |
( |
| ) |
|
|
overridevirtual |
◆ onAccept()
void sese::event::EpollEventLoop::onAccept |
( |
int | fd | ) |
|
|
overridevirtual |
◆ onClose()
void sese::event::EpollEventLoop::onClose |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ onError()
void sese::event::EpollEventLoop::onError |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ onRead()
void sese::event::EpollEventLoop::onRead |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ onWrite()
void sese::event::EpollEventLoop::onWrite |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ setEvent()
bool sese::event::EpollEventLoop::setEvent |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ setListenFd()
void sese::event::EpollEventLoop::setListenFd |
( |
int | fd | ) |
|
|
inlineoverridevirtual |
◆ convert
◆ epoll
int sese::event::EpollEventLoop::epoll {-1} |
|
protected |
◆ listenEvent
BaseEvent* sese::event::EpollEventLoop::listenEvent {nullptr} |
|
protected |
◆ listenFd
int sese::event::EpollEventLoop::listenFd {-1} |
|
protected |
该类的文档由以下文件生成: