HiveMind
IBittyBuzzMessageService.h
Go to the documentation of this file.
1 #ifndef __IBITTYBUZZMESSAGESERVICE_H_
2 #define __IBITTYBUZZMESSAGESERVICE_H_
3 
4 #include <pheromones/MessageDTO.h>
5 
10  public:
11  virtual ~IBittyBuzzMessageService() = default;
12 
20  virtual bool callHostFunction(uint16_t agentId,
21  const char* functionName,
22  const FunctionCallArgumentDTO* args,
23  uint16_t argsLength) = 0;
24 
32  virtual bool callBuzzFunction(uint16_t agentId,
33  const char* functionName,
34  const FunctionCallArgumentDTO* args,
35  uint16_t argsLength) = 0;
40  virtual bool queueBuzzMessages() = 0;
41 };
42 
43 #endif // __IBITTYBUZZMESSAGESERVICE_H_
IBittyBuzzMessageService::queueBuzzMessages
virtual bool queueBuzzMessages()=0
queues the buzz messages
IBittyBuzzMessageService::callBuzzFunction
virtual bool callBuzzFunction(uint16_t agentId, const char *functionName, const FunctionCallArgumentDTO *args, uint16_t argsLength)=0
call a function to a buzz vm
IBittyBuzzMessageService
message service use by the BBVM. Constructs the messages and dispatches it at the appropriate place (...
Definition: IBittyBuzzMessageService.h:9
IBittyBuzzMessageService::callHostFunction
virtual bool callHostFunction(uint16_t agentId, const char *functionName, const FunctionCallArgumentDTO *args, uint16_t argsLength)=0
call a function to a host
IBittyBuzzMessageService::~IBittyBuzzMessageService
virtual ~IBittyBuzzMessageService()=default