#include <tsMessageQueueHandlerInterface.h>
Interface class for notification of enqueue/dequeue on message queues. All methods are empty by default. An application may implement the required ones only.
◆ handleMessageEnqueued()
| virtual void ts::MessageQueueHandlerInterface::handleMessageEnqueued |
( |
size_t | queue_size | ) |
|
|
virtual |
Called when a message was enqueued. This handler is called in the context of the thread which enqueued the message.
- Parameters
-
| [in] | queue_size | Number of messages in the queue after enqueuing the message. This value is informational only because messages may have been enqueued or dequeued just before this handler is called. |
◆ handleMessageDequeued()
| virtual void ts::MessageQueueHandlerInterface::handleMessageDequeued |
( |
size_t | queue_size | ) |
|
|
virtual |
Called when a message was dequeued. This handler is called in the context of the thread which dequeued the message.
- Parameters
-
| [in] | queue_size | Number of messages in the queue after dequeuing the message. This value is informational only because messages may have been enqueued or dequeued just before this handler is called. |
The documentation for this class was generated from the following file: