基础网络事件循环接口
更多...
#include <BaseEventLoop.h>
◆ ~BaseEventLoop()
virtual sese::event::BaseEventLoop::~BaseEventLoop |
( |
| ) |
|
|
virtualdefault |
◆ createEvent()
virtual BaseEvent * sese::event::BaseEventLoop::createEvent |
( |
int | fd, |
|
|
unsigned int | events, |
|
|
void * | data ) |
|
pure virtual |
◆ dispatch()
virtual void sese::event::BaseEventLoop::dispatch |
( |
uint32_t | timeout | ) |
|
|
pure virtual |
◆ freeEvent()
virtual void sese::event::BaseEventLoop::freeEvent |
( |
BaseEvent * | event | ) |
|
|
pure virtual |
◆ init()
virtual bool sese::event::BaseEventLoop::init |
( |
| ) |
|
|
pure virtual |
◆ onAccept()
virtual void sese::event::BaseEventLoop::onAccept |
( |
int | fd | ) |
|
|
pure virtual |
◆ onClose()
virtual void sese::event::BaseEventLoop::onClose |
( |
BaseEvent * | event | ) |
|
|
pure virtual |
◆ onError()
virtual void sese::event::BaseEventLoop::onError |
( |
BaseEvent * | event | ) |
|
|
pure virtual |
◆ onRead()
virtual void sese::event::BaseEventLoop::onRead |
( |
BaseEvent * | event | ) |
|
|
pure virtual |
◆ onWrite()
virtual void sese::event::BaseEventLoop::onWrite |
( |
BaseEvent * | event | ) |
|
|
pure virtual |
◆ setEvent()
virtual bool sese::event::BaseEventLoop::setEvent |
( |
BaseEvent * | event | ) |
|
|
pure virtual |
◆ setListenFd()
virtual void sese::event::BaseEventLoop::setListenFd |
( |
int | fd | ) |
|
|
pure virtual |
◆ handleClose
bool sese::event::BaseEventLoop::handleClose = true |
|
protected |
该类的文档由以下文件生成: