Constructor Function.
17 {
19
26
29 }
#define SPICES_PROFILE_ZONE
std::shared_ptr< Channel > m_AcceptChannel
Acceptor Channel.
Socket m_AcceptSocket
Acceptor Socket.
void HandleRead() const
On Read Event Callback.
bool m_IsListening
Boolean of whether is in listening.
static EventLoop *& GetInst(InetAddress *address=nullptr)
Get EventLoop Instance. @reutrn Returns EventLoop Instance.
void SetReuseAddress(bool on) const
Set socket reuse address option.
void BindAddress(const InetAddress &localAddress) const
Bind address to socket.
void Create()
Create Non Blocking Socket.
const SOCKET Fd() const
Get this socket fd.