![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
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_t > | context |
| ZmqNamedEndpoint | endpoint |
| MessageLoop | loop |
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.
| 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.
1.7.6.1