ifw
0.0.1-dev
|
#include <msgParsers.hpp>
Public Member Functions | |
MsgParsers (rad::Dispatcher &event_dispatcher) | |
virtual | ~MsgParsers () |
void | handle (const std::string &identity, const std::string &payload_type, void const *msg, size_t msg_size) override |
MsgParsers (const MsgParsers &)=delete | |
MsgParsers & | operator= (const MsgParsers &)=delete |
Disable copy constructor. More... | |
MsgParsers (rad::Dispatcher &event_dispatcher) | |
virtual | ~MsgParsers () |
void | handle (const std::string &identity, const std::string &payload_type, void const *msg, size_t msg_size) override |
MsgParsers (const MsgParsers &)=delete | |
MsgParsers & | operator= (const MsgParsers &)=delete |
Disable copy constructor. More... | |
![]() | |
virtual | ~MsgHandler () |
virtual | ~MsgHandler () |
virtual | ~MsgHandler () |
This class parses a ZMQ raw requests/replies into application events and triggers the dispatching of the events.
|
explicit |
Constructor for the requests/replies messages handler.
[in] | eventDispatcher | Dispatcher to be used to dispatch the events. |
|
virtual |
|
delete |
|
explicit |
Constructor for the requests/replies messages handler.
[in] | eventDispatcher | Dispatcher to be used to dispatch the events. |
|
virtual |
|
delete |
|
overridevirtual |
Handle a raw request/reply messages by parsing the payload, creating the related event, and dispatching the event.
[in] | identity | Identity of the originator of the request/reply. |
[in] | payloadType | Type of the payload received. It coincides with the request ID. |
[in] | pMsg | Pointer to the raw message payload. |
[in] | msgSize | Size of the payload. |
Implements rad::MsgHandler.
|
overridevirtual |
Handle a raw request/reply messages by parsing the payload, creating the related event, and dispatching the event.
[in] | identity | Identity of the originator of the request/reply. |
[in] | payloadType | Type of the payload received. It coincides with the request ID. |
[in] | pMsg | Pointer to the raw message payload. |
[in] | msgSize | Size of the payload. |
Implements rad::MsgHandler.
|
delete |
Disable copy constructor.
|
delete |
Disable copy constructor.