DSL
Public Member Functions | List of all members
DSL_Sockets_Events Class Reference

Public Member Functions

 DSL_Sockets_Events (DSL_Sockets3_Base *pSocks)
 
event_base * GetEventBase ()
 
int LoopWithFlags (int flags=0)
 
int LoopWithTimeout (int timeout)
 
void LoopBreak ()
 
DSL_SOCKET_LIBEVENTAdd (DSL_SOCKET *sock, dsl_sockets_event_callback read_cb=NULL, dsl_sockets_event_callback write_cb=NULL, dsl_sockets_event_callback connect_cb=NULL, void *user_ptr=NULL, bool persist_recv=true, bool persist_write=false)
 
void Remove (DSL_SOCKET_LIBEVENT *s, bool close=false)
 
void EnableRecv (DSL_SOCKET_LIBEVENT *s, int timeout=0)
 
void EnableWrite (DSL_SOCKET_LIBEVENT *s, int timeout=0)
 
void DisableRecv (DSL_SOCKET_LIBEVENT *s)
 
void DisableWrite (DSL_SOCKET_LIBEVENT *s)
 
DSL_SOCKET_LIBEVENTAddTimer (dsl_sockets_event_callback cb, bool persist=true, void *user_ptr=NULL)
 
void FreeTimer (DSL_SOCKET_LIBEVENT *timer)
 

Detailed Description

Definition at line 49 of file libevent.h.


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