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

#include <mock_ad_server_connector.h>

Inheritance diagram for RTBKIT::MockAdServerConnector:
RTBKIT::HttpAdServerConnector RTBKIT::AdServerConnector Datacratic::ServiceBase Datacratic::EventRecorder

List of all members.

Public Member Functions

 MockAdServerConnector (const std::string &serviceName, std::shared_ptr< Datacratic::ServiceProxies > proxies)
 MockAdServerConnector (Datacratic::ServiceProxyArguments &args, const std::string &serviceName)
void init (int port)
void start ()
void shutdown ()
void handleEvent (PostAuctionEvent const &event)

Public Attributes

Datacratic::ZmqNamedPublisher publisher

Detailed Description

Basic ad server connector that sits between the stream of wins (received from the exchange) and rest of the stack. Note that this assumes that the incoming message format is from the mock exchange sample.

Definition at line 28 of file mock_ad_server_connector.h.


Member Data Documentation

Generic publishing endpoint to forward wins to anyone registered. Currently, there's only the router that connects to this.

Definition at line 94 of file mock_ad_server_connector.h.


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