message service use by the BBVM. Constructs the messages and dispatches it at the appropriate place (queue)
More...
#include <IBittyBuzzMessageService.h>
message service use by the BBVM. Constructs the messages and dispatches it at the appropriate place (queue)
◆ ~IBittyBuzzMessageService()
virtual IBittyBuzzMessageService::~IBittyBuzzMessageService |
( |
| ) |
|
|
virtualdefault |
◆ callBuzzFunction()
virtual bool IBittyBuzzMessageService::callBuzzFunction |
( |
uint16_t |
agentId, |
|
|
const char * |
functionName, |
|
|
const FunctionCallArgumentDTO * |
args, |
|
|
uint16_t |
argsLength |
|
) |
| |
|
pure virtual |
call a function to a buzz vm
- Parameters
-
[in] | agentId | the id of the agent, use 0 for broadcast |
[in] | functionName | the name of the function to call |
[in] | args | a list of arguments to pass to the function |
[in] | argsLength | the number of arguments to pass, the max is FunctionCallRequestDTO::FUNCTION_CALL_ARGUMENTS_MAX_LENGTH |
Implemented in BittyBuzzMessageService.
◆ callHostFunction()
virtual bool IBittyBuzzMessageService::callHostFunction |
( |
uint16_t |
agentId, |
|
|
const char * |
functionName, |
|
|
const FunctionCallArgumentDTO * |
args, |
|
|
uint16_t |
argsLength |
|
) |
| |
|
pure virtual |
call a function to a host
- Parameters
-
[in] | agentId | the id of the agent, use 0 for broadcast |
[in] | functionName | the name of the function to call |
[in] | args | a list of arguments to pass to the function |
[in] | argsLength | the number of arguments to pass, the max is FunctionCallRequestDTO::FUNCTION_CALL_ARGUMENTS_MAX_LENGTH |
Implemented in BittyBuzzMessageService.
◆ queueBuzzMessages()
virtual bool IBittyBuzzMessageService::queueBuzzMessages |
( |
| ) |
|
|
pure virtual |
queues the buzz messages
- Returns
- true if the operation was successfull, false if not (length too big or queue is full)
Implemented in BittyBuzzMessageService.
The documentation for this class was generated from the following file: