The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

socketengine.h File Reference

#include <vector>
#include <string>
#include <map>
#include "inspircd_config.h"
#include "base.h"

Include dependency graph for socketengine.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EventHandler
 This class is a basic I/O handler class. More...
class  SocketEngine
 Provides basic file-descriptor-based I/O support. More...

Enumerations

enum  EventType { EVENT_READ = 0, EVENT_WRITE = 1, EVENT_ERROR = 2 }
 Types of event an EventHandler may receive. More...


Enumeration Type Documentation

enum EventType
 

Types of event an EventHandler may receive.

EVENT_READ is a readable file descriptor, and EVENT_WRITE is a writeable file descriptor. EVENT_ERROR can always occur, and indicates a write error or read error on the socket, e.g. EOF condition or broken pipe.

Enumerator:
EVENT_READ  Read event.
EVENT_WRITE  Write event.
EVENT_ERROR  Error event.

Definition at line 30 of file socketengine.h.