RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Public Attributes | Static Public Attributes
Datacratic::ChunkedHttpHandler Struct Reference
Inheritance diagram for Datacratic::ChunkedHttpHandler:
Datacratic::HttpConnectionHandler Datacratic::PassiveConnectionHandler Datacratic::ConnectionHandler

List of all members.

Public Member Functions

virtual void onGotTransport ()
virtual void handleHttpChunk (const HttpHeader &httpHeader, const std::string &chunkHeader, const std::string &chunk)
virtual void handleDisconnect ()
virtual std::string status () const
virtual void handleError (const std::string &message)
void doEvent (const char *eventName, EventType type=ET_COUNT, float value=1.0, const char *units="")
std::shared_ptr
< ChunkedHttpHandler
makeNewHandlerShared ()

Public Attributes

ChunkedHttpEndpointendpoint

Static Public Attributes

static long created = 0
static long destroyed = 0

Detailed Description

Definition at line 21 of file chunked_http_endpoint.h.


Member Function Documentation

Got a disconnection

Reimplemented from Datacratic::ConnectionHandler.

Definition at line 55 of file chunked_http_endpoint.cc.

void Datacratic::ChunkedHttpHandler::handleError ( const std::string &  message) [virtual]

We got an error. Send back an HTTP error response.

Reimplemented from Datacratic::HttpConnectionHandler.

Definition at line 72 of file chunked_http_endpoint.cc.

void Datacratic::ChunkedHttpHandler::handleHttpChunk ( const HttpHeader httpHeader,
const std::string &  chunkHeader,
const std::string &  chunk 
) [virtual]

Deal with the chunk. Default calls onChunk from the handler.

Reimplemented from Datacratic::HttpConnectionHandler.

Definition at line 63 of file chunked_http_endpoint.cc.

Create a new connection handler. Delegates to the endpoint. This is used after a response is sent to set the connection up for a new request.

Reimplemented from Datacratic::HttpConnectionHandler.

Definition at line 104 of file chunked_http_endpoint.cc.

We got our transport.

Reimplemented from Datacratic::HttpConnectionHandler.

Definition at line 40 of file chunked_http_endpoint.cc.


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