Go to the documentation of this file. 1 #ifndef __HIVEMINDHOSTAPIREQUESTHANDLER_H_
2 #define __HIVEMINDHOSTAPIREQUESTHANDLER_H_
6 #include <cpp-common/ICircularQueue.h>
13 ICircularQueue<MessageDTO>& hostQueue,
14 ICircularQueue<MessageDTO>& remoteQueue,
24 const MessageDTO& message,
25 const HiveMindHostApiRequestDTO& request);
34 #endif // __HIVEMINDHOSTAPIREQUESTHANDLER_H_
ICircularQueue< MessageDTO > & m_hostQueue
Definition: HiveMindHostApiRequestHandler.h:28
const IInterloc & m_interloc
Definition: HiveMindHostApiRequestHandler.h:30
HiveMindHostApiRequestHandler(const IBSP &bsp, ICircularQueue< MessageDTO > &hostQueue, ICircularQueue< MessageDTO > &remoteQueue, const IInterloc &interloc, ILogger &logger)
Definition: HiveMindHostApiRequestHandler.cpp:3
ICircularQueue< MessageDTO > & m_remoteQueue
Definition: HiveMindHostApiRequestHandler.h:29
Definition: HiveMindHostApiRequestHandler.h:10
ILogger & m_logger
Definition: HiveMindHostApiRequestHandler.h:31
Handles HiveMindApi requests and sends the response to the appropriate target.
Definition: IHiveMindHostApiRequestHandler.h:10
const IBSP & m_bsp
Definition: HiveMindHostApiRequestHandler.h:27
bool handleRequest(const MessageDTO &message) override
handles HiveMindHostAPI request and sends a response to the approriate target
Definition: HiveMindHostApiRequestHandler.cpp:15
A logger class with basic logging capabilities.
Definition: ILogger.h:35
Definition: IInterloc.h:15
~HiveMindHostApiRequestHandler() override=default
bool handleHiveMindHostApiRequest(uint16_t requestId, const MessageDTO &message, const HiveMindHostApiRequestDTO &request)
Definition: HiveMindHostApiRequestHandler.cpp:29