Use ClientControl.QueueEventStream
instead.
@Deprecated public static interface ClientControl.QueueEventHandler extends ServerHandler
An implementation can be registered using
ClientControl.setQueueEventHandler(QueueEventHandler)
.
Modifier and Type | Interface and Description |
---|---|
static class |
ClientControl.QueueEventHandler.Default
Deprecated.
This provides a default implementation of
ClientControl.QueueEventHandler . |
Modifier and Type | Method and Description |
---|---|
void |
onLowerThresholdCrossed(SessionId sessionId,
MessageQueuePolicy policy)
Deprecated.
The configured lower threshold for a client's queue has been reached.
|
void |
onUpperThresholdCrossed(SessionId sessionId,
MessageQueuePolicy policy)
Deprecated.
The configured upper threshold for a client's queue has been reached.
|
onActive, onClose
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.