![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <mock_ad_server_connector.h>
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 |
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.
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.