public static interface ClientControl.QueueEventStream extends Stream
An implementation can be registered using
ClientControl.setQueueEventHandler(QueueEventStream)
.
Modifier and Type | Interface and Description |
---|---|
static class |
ClientControl.QueueEventStream.Default
This provides a default implementation of
ClientControl.QueueEventHandler . |
Modifier and Type | Method and Description |
---|---|
void |
onLowerThresholdCrossed(SessionId sessionId,
MessageQueuePolicy policy)
The configured lower threshold for a client's queue has been reached.
|
void |
onUpperThresholdCrossed(SessionId sessionId,
MessageQueuePolicy policy)
The configured upper threshold for a client's queue has been reached.
|
void onUpperThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy)
sessionId
- the client session identifierpolicy
- the message queue policyvoid onLowerThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy)
sessionId
- the client session identifierpolicy
- the message queue policyCopyright © 2024 DiffusionData Ltd. All Rights Reserved.