Sponge
CS144's user-space TCP library
Classes | Typedefs
eventloop.hh File Reference
#include "file_descriptor.hh"
#include <cstdlib>
#include <functional>
#include <list>
#include <poll.h>
Include dependency graph for eventloop.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EventLoop
 Waits for events on file descriptors and executes corresponding callbacks. More...
 
class  EventLoop::Rule
 Specifies a condition and callback that an EventLoop should handle. More...
 

Typedefs

using Direction = EventLoop::Direction
 

Typedef Documentation

◆ Direction

Definition at line 60 of file eventloop.hh.