Anope IRC Services  Version 2.0
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 int GetLastError ()
 
static void SetLastError (int)
 
static bool IgnoreErrno ()
 

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
int SocketEngine::GetLastError ( )
static

Definition at line 548 of file sockets.cpp.

bool SocketEngine::IgnoreErrno ( )
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().

Referenced by Anope::Init().

void SocketEngine::Process ( )
static
void SocketEngine::SetLastError ( int  err)
static

Definition at line 557 of file sockets.cpp.

Referenced by SSLSocketIO::Recv(), and SSLSocketIO::Send().

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
staticprivate

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: