HiveMind
Public Member Functions | List of all members
IBittyBuzzMessageHandler Class Referenceabstract

Handles messages destined to the bbvm. More...

#include <IBittyBuzzMessageHandler.h>

Inheritance diagram for IBittyBuzzMessageHandler:
Inheritance graph
Collaboration diagram for IBittyBuzzMessageHandler:
Collaboration graph

Public Member Functions

virtual ~IBittyBuzzMessageHandler ()=default
 
virtual bool processMessage ()=0
 process a message and sends a response if needed. A response is sent to the appropriate queue on a request More...
 
virtual void clearMessages ()=0
 clears all the pending messages in the input queue without processing them More...
 
virtual uint16_t messageQueueLength () const =0
 gets the number of message to be processed in the queue More...
 

Detailed Description

Handles messages destined to the bbvm.

Constructor & Destructor Documentation

◆ ~IBittyBuzzMessageHandler()

virtual IBittyBuzzMessageHandler::~IBittyBuzzMessageHandler ( )
virtualdefault

Member Function Documentation

◆ clearMessages()

virtual void IBittyBuzzMessageHandler::clearMessages ( )
pure virtual

clears all the pending messages in the input queue without processing them

Implemented in BittyBuzzMessageHandler.

Here is the caller graph for this function:

◆ messageQueueLength()

virtual uint16_t IBittyBuzzMessageHandler::messageQueueLength ( ) const
pure virtual

gets the number of message to be processed in the queue

Returns
The number of message in the queue

Implemented in BittyBuzzMessageHandler.

Here is the caller graph for this function:

◆ processMessage()

virtual bool IBittyBuzzMessageHandler::processMessage ( )
pure virtual

process a message and sends a response if needed. A response is sent to the appropriate queue on a request

Returns
true if the operation was successfull or there was no message to process, false if an reply could not be send (i.e. the queue was full or the message was could not be understood)

Implemented in BittyBuzzMessageHandler.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: