WSAEventSelect 事件循环
更多...
#include <WSAEventLoop.h>
◆ ~WSAEventLoop()
sese::event::WSAEventLoop::~WSAEventLoop |
( |
| ) |
|
|
override |
◆ createEvent()
◆ dispatch()
void sese::event::WSAEventLoop::dispatch |
( |
uint32_t | timeout | ) |
|
|
overridevirtual |
◆ freeEvent()
void sese::event::WSAEventLoop::freeEvent |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ init()
bool sese::event::WSAEventLoop::init |
( |
| ) |
|
|
overridevirtual |
实现了 sese::event::BaseEventLoop.
引用了 EVENT_ERROR, sese::event::BaseEvent::events, events, sese::event::BaseEvent::fd, listenEvent, listenFd, numbers, sockets, sese::event::WSAEvent::wsaEvent, wsaEvent , 以及 wsaEvents.
◆ onAccept()
void sese::event::WSAEventLoop::onAccept |
( |
int | fd | ) |
|
|
overridevirtual |
◆ onClose()
void sese::event::WSAEventLoop::onClose |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ onError()
void sese::event::WSAEventLoop::onError |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ onRead()
void sese::event::WSAEventLoop::onRead |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ onWrite()
void sese::event::WSAEventLoop::onWrite |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ setEvent()
bool sese::event::WSAEventLoop::setEvent |
( |
BaseEvent * | event | ) |
|
|
overridevirtual |
◆ setListenFd()
void sese::event::WSAEventLoop::setListenFd |
( |
int | fd | ) |
|
|
overridevirtual |
◆ convert
◆ events
◆ listenEvent
WSAEvent* sese::event::WSAEventLoop::listenEvent {nullptr} |
|
protected |
◆ listenFd
int sese::event::WSAEventLoop::listenFd {-1} |
|
protected |
◆ numbers
unsigned long sese::event::WSAEventLoop::numbers = 0 |
|
protected |
◆ sockets
unsigned long long sese::event::WSAEventLoop::sockets[MAX_EVENT_SIZE] {} |
|
protected |
◆ wsaEvent
void* sese::event::WSAEventLoop::wsaEvent {nullptr} |
|
protected |
◆ wsaEvents
该类的文档由以下文件生成: