public static class ClientControl.QueueEventHandler.Default extends ServerHandler.Default implements ClientControl.QueueEventHandler
ClientControl.QueueEventHandler
.
This simply logs events at debug level and should only be used for diagnostic purposes. This may be extended to implement the notifications you wish to act upon.
ClientControl.QueueEventHandler.Default
Constructor and Description |
---|
Default() |
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.
|
onActive, onClose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onActive, onClose
public void onUpperThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy)
ClientControl.QueueEventHandler
onUpperThresholdCrossed
in interface ClientControl.QueueEventHandler
sessionId
- the client session identifierpolicy
- the message queue policypublic void onLowerThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy)
ClientControl.QueueEventHandler
onLowerThresholdCrossed
in interface ClientControl.QueueEventHandler
sessionId
- the client session identifierpolicy
- the message queue policyCopyright © 2024 DiffusionData Ltd. All Rights Reserved.