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