RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions
Datacratic::HttpMonitor< Handler, Arg > Struct Template Reference

#include <http_monitor.h>

Inheritance diagram for Datacratic::HttpMonitor< Handler, Arg >:
Datacratic::HttpEndpoint Datacratic::PassiveEndpointT< SocketTransport > Datacratic::PassiveEndpoint Datacratic::EndpointBase Datacratic::Epoller Datacratic::AsyncEventSource

List of all members.

Public Member Functions

 HttpMonitor (const std::string &name)
void start (int port, Arg a=Arg())

Detailed Description

template<typename Handler, typename Arg = void*>
struct Datacratic::HttpMonitor< Handler, Arg >

Simple Http server that works with HttpMonitorHandler to provide a simple Http querying or monitering service.

Definition at line 38 of file http_monitor.h.


Member Function Documentation

template<typename Handler , typename Arg = void*>
void Datacratic::HttpMonitor< Handler, Arg >::start ( int  port,
Arg  a = Arg() 
) [inline]

Starts the server on the given port. The given argument will be made available to the handlers whenever a connection is created.

Definition at line 47 of file http_monitor.h.


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