RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions | Public Attributes
Redis::AsyncConnection::EventLoop Struct Reference

List of all members.

Public Member Functions

 EventLoop (AsyncConnection *connection)
void shutdown ()
void wakeup ()
void registerMe (redisAsyncContext *context)
void run ()
void onConnect (int status)
void onDisconnect (int status)
void startReading ()
void stopReading ()
void startWriting ()
void stopWriting ()
void cleanup ()

Static Public Member Functions

static void onConnect (const redisAsyncContext *context, int status)
static void onDisconnect (const redisAsyncContext *context, int status)
static void startReading (void *privData)
static void stopReading (void *privData)
static void startWriting (void *privData)
static void stopWriting (void *privData)
static void cleanup (void *privData)

Public Attributes

int wakeupfd [2]
volatile bool finished
AsyncConnectionconnection
std::shared_ptr< boost::thread > thread
pollfd fds [2]
volatile int disconnected

Detailed Description

Definition at line 411 of file redis.cc.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator