#include <msgHandler.hpp>
|
| virtual | ~MsgHandler () |
| |
| virtual void | Handle (const std::string &identity, const std::string &msg_type_id, const void *data, size_t data_size)=0 |
| |
Base class for actions performed for a specific message type
◆ ~MsgHandler()
| virtual rad::MsgHandler::~MsgHandler |
( |
| ) |
|
|
inlinevirtual |
◆ Handle()
| virtual void rad::MsgHandler::Handle |
( |
const std::string & | identity, |
|
|
const std::string & | msg_type_id, |
|
|
const void * | data, |
|
|
size_t | data_size ) |
|
pure virtual |
Handles raw message.
- Parameters
-
| identity | Requestor identity. |
| msg_type_id | Identity of message type. |
| data | Raw serialized message. |
| data_size | Size of the raw message. |
- Todo
- replace data with array_view
Implemented in server::MsgParsers, and TestMsgHandler.
The documentation for this class was generated from the following file: