RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes
Datacratic::TcpNamedProxy Struct Reference
Inheritance diagram for Datacratic::TcpNamedProxy:
Datacratic::FullPoller Datacratic::AsyncEventSource

List of all members.

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

Detailed Description

Definition at line 115 of file tcpsockets.h.


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