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, onCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonActive, onClosepublic void onUpperThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy)
ClientControl.QueueEventHandleronUpperThresholdCrossed in interface ClientControl.QueueEventHandlersessionId - the client session identifierpolicy - the message queue policypublic void onLowerThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy)
ClientControl.QueueEventHandleronLowerThresholdCrossed in interface ClientControl.QueueEventHandlersessionId - the client session identifierpolicy - the message queue policyCopyright © 2023 DiffusionData Limited. All rights reserved.