HiveMind
src
message-handler
include
message-handler
IHiveMindHostApiRequestHandler.h
Go to the documentation of this file.
1
#ifndef __IHIVEMINDHOSTAPIREQUESTHANDLER_H_
2
#define __IHIVEMINDHOSTAPIREQUESTHANDLER_H_
3
4
#include <optional>
5
#include <pheromones/HiveMindHostApiRequestDTO.h>
6
#include <pheromones/MessageDTO.h>
7
10
class
IHiveMindHostApiRequestHandler
{
11
public
:
12
virtual
~IHiveMindHostApiRequestHandler
() =
default
;
13
18
virtual
bool
handleRequest
(
const
MessageDTO& message) = 0;
19
};
20
21
#endif // __IHIVEMINDHOSTAPIREQUESTHANDLER_H_
IHiveMindHostApiRequestHandler
Handles HiveMindApi requests and sends the response to the appropriate target.
Definition:
IHiveMindHostApiRequestHandler.h:10
IHiveMindHostApiRequestHandler::~IHiveMindHostApiRequestHandler
virtual ~IHiveMindHostApiRequestHandler()=default
IHiveMindHostApiRequestHandler::handleRequest
virtual bool handleRequest(const MessageDTO &message)=0
handles HiveMindHostAPI request and sends a response to the approriate target
Generated by
1.8.17