![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Types | |
enum | ConnectionState { LOOKUP, DISCONNECTED, CONNECTING, CONNECTED } |
Public Member Functions | |
void | init (std::shared_ptr< ConfigurationService > config) |
void | shutdown () |
void | connectTo (std::string host, int port) |
bool | isConnected () const |
bool | sendMessage (const std::string &message) |
void | onMessage (std::string &&newMessage) |
void | onDisconnect (int fd) |
void | handleEvent (epoll_event &event) |
Public Attributes | |
int | socket_ |
enum ConnectionState | state_ |
CharMessageRingBuffer | recvBuffer |
CharMessageRingBuffer | sendBuffer |
Definition at line 115 of file tcpsockets.h.