ReCodEx - Task Broker
ReCodEx is complex programmer testing solution, primary targeted to technical universities. It's highly customizable and based on modern technologies.
handler_interface.h
1 #ifndef RECODEX_BROKER_HANDLER_INTERFACE_H
2 #define RECODEX_BROKER_HANDLER_INTERFACE_H
3 
4 #include <functional>
5 
6 #include "message_container.h"
7 
12 {
13 public:
17  typedef std::function<void(const message_container &)> response_cb;
18 
24  virtual void on_request(const message_container &message, response_cb response) = 0;
25 };
26 
27 #endif // RECODEX_BROKER_HANDLER_INTERFACE_H
virtual void on_request(const message_container &message, response_cb response)=0
std::function< void(const message_container &)> response_cb