RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
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 |
AsyncConnection * | connection |
std::shared_ptr< boost::thread > | thread |
pollfd | fds [2] |
volatile int | disconnected |