ReCodEx - Task Broker
ReCodEx is complex programmer testing solution, primary targeted to technical universities. It's highly customizable and based on modern technologies.
|
#include <handler_interface.h>
Public Types | |
typedef std::function< void(const message_container &)> | response_cb |
Public Member Functions | |
virtual void | on_request (const message_container &message, response_cb response)=0 |
An interface for reactor event handlers.
Definition at line 11 of file handler_interface.h.
typedef std::function<void(const message_container &)> handler_interface::response_cb |
Type of the callback function passed to the handler by the reactor
Definition at line 17 of file handler_interface.h.
|
pure virtual |
Process a message the handler is subscribed to
message | message to be processed |
response | callback that enables the handler to respond |
Implemented in status_notifier_handler, and broker_handler.