SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Channel() [1/2]

Spices::Net::Channel::Channel ( SOCKET fd,
EventLoop * loop )

Constructor Function.

Parameters
[in]fdsocket fd.
[in]loopEventLoop.

Definition at line 15 of file Channel.cpp.

16 : m_Fd(fd)
17 , m_Loop(loop)
19 , m_Revents(0)
21 {}
EventLoop * m_Loop
This channel interested EventLoop.
Definition Channel.h:237
int m_Revents
Current happened event type.
Definition Channel.h:247
EventFlags m_Events
This SOCKET interested Events type.
Definition Channel.h:242
SOCKET m_Fd
This channel interested SOCKET.
Definition Channel.h:232
PollState m_PollState
This channel PollState.
Definition Channel.h:252

References Channel(), Deleted, m_Events, m_Loop, m_PollState, m_Revents, and None.

Referenced by Channel().