Simple Event Driven Network Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | List of all members
SedNL::Poller Class Reference


struct  Event

Public Member Functions

bool add_fd (FileDescriptor fd) noexcept
 In case of fails, it close the poller.
void remove_fd (FileDescriptor fd) noexcept
 Remove a file descriptor from the poll.
void wait_for_events (int timeout) noexcept
 Return the number of events.
bool next_event (Event &e) noexcept
 return True and modify e if they are one more event.

Detailed Description

Definition at line 47 of file Poller.hpp.

The documentation for this class was generated from the following file: