Static Public Member Functions | Static Public Attributes | Static Private Attributes

SocketEngine Class Reference

#include <socketengine.h>

Static Public Member Functions

static void Init ()
static void Shutdown ()
static void Change (Socket *s, bool set, SocketFlag flag)
static void Process ()

Static Public Attributes

static std::map< int, Socket * > Sockets

Static Private Attributes

static const int DefaultSize = 2

Detailed Description

Definition at line 19 of file socketengine.h.


Member Function Documentation

void SocketEngine::Change ( Socket s,
bool  set,
SocketFlag  flag 
) [static]
void SocketEngine::Init (  )  [static]

Called to initialize the socket engine

Definition at line 25 of file socketengine_epoll.cpp.

References DefaultSize, EngineHandle, events, and Anope::LastError().

void SocketEngine::Process (  )  [static]
void SocketEngine::Shutdown (  )  [static]

Called to shutdown the socket engine

Definition at line 35 of file socketengine_epoll.cpp.

References Sockets.

Referenced by main().


Field Documentation

const int SocketEngine::DefaultSize = 2 [static, private]

Definition at line 21 of file socketengine.h.

Referenced by Init().

std::map< int, Socket * > SocketEngine::Sockets [static]

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