HiveMind
IBittyBuzzMessageHandler.h
Go to the documentation of this file.
1 #ifndef __IBITTYBUZZMESSAGEHANDLER_H_
2 #define __IBITTYBUZZMESSAGEHANDLER_H_
3 
4 #include <cstdint>
5 
9  public:
10  virtual ~IBittyBuzzMessageHandler() = default;
11 
17  virtual bool processMessage() = 0;
18 
20  virtual void clearMessages() = 0;
21 
26  virtual uint16_t messageQueueLength() const = 0;
27 };
28 
29 #endif // __IBITTYBUZZMESSAGEHANDLER_H_
IBittyBuzzMessageHandler::processMessage
virtual bool processMessage()=0
process a message and sends a response if needed. A response is sent to the appropriate queue on a re...
IBittyBuzzMessageHandler::clearMessages
virtual void clearMessages()=0
clears all the pending messages in the input queue without processing them
IBittyBuzzMessageHandler::~IBittyBuzzMessageHandler
virtual ~IBittyBuzzMessageHandler()=default
IBittyBuzzMessageHandler
Handles messages destined to the bbvm.
Definition: IBittyBuzzMessageHandler.h:8
IBittyBuzzMessageHandler::messageQueueLength
virtual uint16_t messageQueueLength() const =0
gets the number of message to be processed in the queue