#include <MamaQueueMonitorCallback.h>
Name | |
---|---|
virtual | ~MamaQueueMonitorCallback() |
virtual void | onHighWatermarkExceeded(MamaQueue * queue, size_t size, void * closure) =0 |
virtual void | onLowWatermark(MamaQueue * queue, size_t size, void * closure) =0 |
class Wombat::MamaQueueMonitorCallback;
Receive callbacks when certain conditions for the MamaQueue are met.
Currently only one callback is defined which is invoked when the specified size limit on the MamaQueue is exceeded.
inline virtual ~MamaQueueMonitorCallback()
virtual void onHighWatermarkExceeded(
MamaQueue * queue,
size_t size,
void * closure
) =0
Parameters:
Callback invoked if an upper size limit has been specified for a queue and that limit has been exceeded.
virtual void onLowWatermark(
MamaQueue * queue,
size_t size,
void * closure
) =0
Parameters:
Callback when low water mark is reached. Only supported by Wombat TCP middleware.
Updated on 2023-03-31 at 15:29:25 +0100