RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Friends
Datacratic::ChunkedHttpEndpoint Struct Reference
Inheritance diagram for Datacratic::ChunkedHttpEndpoint:
Datacratic::HttpEndpoint Datacratic::PassiveEndpointT< SocketTransport > Datacratic::PassiveEndpoint Datacratic::EndpointBase Datacratic::Epoller Datacratic::AsyncEventSource

List of all members.

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

Detailed Description

Definition at line 63 of file chunked_http_endpoint.h.


Member Typedef Documentation

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.


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