RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
Public Member Functions | Public Attributes
EchoService Struct Reference
Inheritance diagram for EchoService:
Datacratic::ServiceBase Datacratic::RestServiceEndpoint Datacratic::ServiceBase Datacratic::ServiceBase Datacratic::EventRecorder Datacratic::MessageLoop Datacratic::EventRecorder Datacratic::EventRecorder Datacratic::Epoller Datacratic::AsyncEventSource

List of all members.

Public Member Functions

 EchoService (std::shared_ptr< ServiceProxies > proxies, const std::string &serviceName)
void init ()
void start ()
void shutdown ()
std::string bindTcp ()
 EchoService (std::shared_ptr< ServiceProxies > proxies, const std::string &serviceName)
void start ()
void shutdown ()
std::string bindTcp ()
 EchoService (std::shared_ptr< ServiceProxies > proxies, const std::string &serviceName)
virtual void handleRequest (const ConnectionId &connection, const RestRequest &request) const

Public Attributes

ZmqNamedClientBus toClients
std::shared_ptr< zmq::context_tcontext
ZmqNamedEndpoint endpoint
MessageLoop loop

Detailed Description

Simple test service that listens on zeromq and simply echos everything that it gets back.

Definition at line 39 of file multiple_service_test.cc.


Member Function Documentation

virtual void EchoService::handleRequest ( const ConnectionId connection,
const RestRequest request 
) const [inline, virtual]

Handle a request. Default implementation defers to onHandleRequest. Otherwise this method should be overridden.

Reimplemented from Datacratic::RestServiceEndpoint.

Definition at line 59 of file rest_service_endpoint_test.cc.


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