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) |
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) |
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) |
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.
devmgr::common::MsgParsers::MsgParsers | ( | rad::Dispatcher & | event_dispatcher | ) |
Constructor for the requests/replies messages handler.
[in] | eventDispatcher | Dispatcher to be used to dispatch the events. |
|
virtual |
Destructor.
|
delete |
devmgr::common::MsgParsers::MsgParsers | ( | rad::Dispatcher & | event_dispatcher | ) |
Constructor for the requests/replies messages handler.
[in] | eventDispatcher | Dispatcher to be used to dispatch the events. |
|
virtual |
Destructor.
|
delete |
devmgr::common::MsgParsers::MsgParsers | ( | rad::Dispatcher & | event_dispatcher | ) |
Constructor for the requests/replies messages handler.
[in] | eventDispatcher | Dispatcher to be used to dispatch the events. |
|
virtual |
Destructor.
|
delete |
|
virtual |
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] | payload_type | Type of the payload received. It coincides with the request ID. |
[in] | msg | Pointer to the raw message payload. |
[in] | msg_size | Size of the payload. |
Implements rad::MsgHandler.
|
virtual |
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] | payload_type | Type of the payload received. It coincides with the request ID. |
[in] | msg | Pointer to the raw message payload. |
[in] | msg_size | Size of the payload. |
Implements rad::MsgHandler.
|
virtual |
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] | payload_type | Type of the payload received. It coincides with the request ID. |
[in] | msg | Pointer to the raw message payload. |
[in] | msg_size | Size of the payload. |
Implements rad::MsgHandler.
|
delete |
Disable copy constructor.
|
delete |
Disable copy constructor.
|
delete |
Disable copy constructor.