2
3
4
5
9#include "Network/Net/Channel.h"
20 auto it = m_Channels.find(channel->Fd());
22 return it != m_Channels.end() && it->second == channel;
#define SPICES_PROFILE_ZONE
Wrapper of SOCKET'S Event.
Wrapper of Poller and wakeup socket to acceptor(SubLoop).
static std::shared_ptr< Poller > DefaultPoller(EventLoop *loop)
Create Default Poller.
bool HasChannel(Channel *channel) const
Determine if channel is in ChannelMap.
Inherit from this and Implement Specific Poller.