![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Types | |
| typedef boost::function< void(const HttpHeader &header, const std::string &chunkHeader, const std::string &chunkData)> | OnChunk |
| typedef boost::function< void(std::string, EventType, float, const char *) | OnEvent ) |
Public Member Functions | |
| ChunkedHttpEndpoint (const std::string &name, OnChunk onChunk) | |
Public Attributes | |
| OnChunk | onChunk |
| OnEvent | onEvent |
Protected Member Functions | |
| void | doEvent (const std::string &eventName, EventType type=ET_COUNT, float value=1.0, const char *units="") |
|
virtual std::shared_ptr < ConnectionHandler > | makeNewHandler () |
|
virtual std::shared_ptr < ChunkedHttpHandler > | makeNewHandlerShared () |
Friends | |
| class | ChunkedHttpHandler |
Definition at line 63 of file chunked_http_endpoint.h.
| typedef boost::function<void (const HttpHeader & header, const std::string & chunkHeader, const std::string & chunkData)> Datacratic::ChunkedHttpEndpoint::OnChunk |
Function that will be called to notify of a new auction.
Definition at line 69 of file chunked_http_endpoint.h.
| typedef boost::function<void (std::string, EventType, float, const char *) Datacratic::ChunkedHttpEndpoint::OnEvent) |
A function that deals with something happening. Fields are: 1. The name of the event; 2. The type of the event; 3. The value of the event if it's a measurement; 4. The units of the event (currently unused)
Reimplemented from Datacratic::Epoller.
Definition at line 84 of file chunked_http_endpoint.h.
1.7.6.1