HiveMind
IHiveConnectHiveMindApiMessageHandler.h
Go to the documentation of this file.
1 #ifndef __IHIVECONNECTHIVEMINDAPIMESSAGEHANDLER_H_
2 #define __IHIVECONNECTHIVEMINDAPIMESSAGEHANDLER_H_
3 
4 #include <pheromones/HiveConnectHiveMindApiDTO.h>
5 
10  public:
11  virtual ~IHiveConnectHiveMindApiMessageHandler() = default;
12 
19  virtual bool handleMessage(uint16_t sourceId,
20  uint16_t destId,
21  const HiveConnectHiveMindApiDTO& message) = 0;
22 };
23 
24 #endif // __IHIVECONNECTHIVEMINDAPIMESSAGEHANDLER_H_
IHiveConnectHiveMindApiMessageHandler::handleMessage
virtual bool handleMessage(uint16_t sourceId, uint16_t destId, const HiveConnectHiveMindApiDTO &message)=0
handles HiveConnectHiveMindApi
IHiveConnectHiveMindApiMessageHandler::~IHiveConnectHiveMindApiMessageHandler
virtual ~IHiveConnectHiveMindApiMessageHandler()=default
IHiveConnectHiveMindApiMessageHandler
Handles HiveConnectHiveMindApi messages and makes the proper request.
Definition: IHiveConnectHiveMindApiMessageHandler.h:9