#include <IMessageHandler.h>
◆ ~IMessageHandler()
virtual IMessageHandler::~IMessageHandler |
( |
| ) |
|
|
virtualdefault |
◆ handleGreet()
virtual std::optional<uint32_t> IMessageHandler::handleGreet |
( |
MessageDTO |
greetMessage | ) |
|
|
pure virtual |
Parse a greet message and return the contained swarmAgentId.
- Parameters
-
greetMessage | The message to parse. |
- Returns
- The contained swarmAgentId if the operation succeded.
Implemented in MessageHandler.
◆ handleMessage()
Parse a message and execute the appropriate callback or action.
- Parameters
-
message | the message to parse. |
- Returns
- A message containing the appropriate acknowlege (with appropriate errors if necessary)
Implemented in MessageHandler.
The documentation for this class was generated from the following file: