28 int waitForEvents(
struct epoll_event *events,
int maxEvents,
int timeout = -1);
void requestShutdown()
Definition EpollManager.cpp:61
void addHandler(IEventHandler *handler, uint32_t events)
Definition EpollManager.cpp:26
EpollManager()
Definition EpollManager.cpp:12
volatile sig_atomic_t isShuttingDown
Definition EpollManager.hpp:35
int waitForEvents(struct epoll_event *events, int maxEvents, int timeout=-1)
Definition EpollManager.cpp:57
int epollFd_
Definition EpollManager.hpp:34
EpollManager(const EpollManager &other)
void removeHandler(IEventHandler const *handler)
Definition EpollManager.cpp:48
~EpollManager()
Definition EpollManager.cpp:20
void modifyHandler(IEventHandler *handler, uint32_t events)
Definition EpollManager.cpp:37
EpollManager & operator=(const EpollManager &other)
bool getisShuttingDown() const
Definition EpollManager.cpp:63
Abstract base class defining the interface for event-driven service handlers.
Definition IEventHandler.hpp:19
Definition Request.hpp:13