RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <augmentor_base.h>
Public Types | |
typedef boost::function< void(const AugmentationRequest &)> | OnRequest |
Public Member Functions | |
Augmentor (const std::string &augmentorName, const std::string &serviceName, std::shared_ptr< ServiceProxies > proxies) | |
Augmentor (const std::string &augmentorName, const std::string &serviceName, ServiceBase &parent) | |
void | init () |
void | start () |
void | shutdown () |
void | configureAndWait () |
void | respond (const AugmentationRequest &request, const AugmentationList &response) |
Public Attributes | |
OnRequest | onRequest |
Class that implements a bid request augmentor. Real augmentors should build on top of this class.
Definition at line 60 of file augmentor_base.h.
typedef boost::function<void (const AugmentationRequest &)> RTBKIT::Augmentor::OnRequest |
Type of the callback for an augmentation request.
Definition at line 82 of file augmentor_base.h.
void RTBKIT::Augmentor::configureAndWait | ( | ) |
Send configuration information and await confirmation that it has been received.
Definition at line 135 of file augmentor_base.cc.
void RTBKIT::Augmentor::respond | ( | const AugmentationRequest & | request, |
const AugmentationList & | response | ||
) |
Function to be called to respond to an augmentation request.
Definition at line 149 of file augmentor_base.cc.
Function to be called on an augmentation request.
Definition at line 85 of file augmentor_base.h.