![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <augmentor_base.h>
Public Types | |
typedef std::function< void(const AugmentationList &)> | SendResponseCB |
Public Member Functions | |
AsyncAugmentor (const std::string &augmentorName, const std::string &serviceName, std::shared_ptr< ServiceProxies > proxies) | |
AsyncAugmentor (const std::string &augmentorName, const std::string &serviceName, ServiceBase &parent) | |
virtual void | onRequest (const AugmentationRequest &request, SendResponseCB sendResponse) |
Public Attributes | |
boost::function< void(const AugmentationRequest &, SendResponseCB) > | doRequest |
Protected Member Functions | |
virtual void | doRequestImpl (const AugmentationRequest &request) |
Multi-threaded augmentor designed for asynchronous augmentations.
To return the augmentation to the router, pass the augmentation to the sendResponse callback provided as a parameter to the doRequest function.
Definition at line 206 of file augmentor_base.h.