Interface IQueueEventHandler
- Assembly
- Diffusion.Client.dll
Handler for client queue events.
[Obsolete("Deprecated since 6.12. Use IClientControl.SetQueueEventHandlerAsync instead. This interface will be removed in a future release.")]
public interface IQueueEventHandler : IServerHandler
- Inherited Members
Remarks
Caution
Deprecated since 6.12. Use the new SetQueueEventHandlerAsync(IQueueEventStream) instead. This interface will be removed in a future release.
Methods
OnLowerThresholdCrossed(ISessionId, IMessageQueuePolicy)
The configured lower threshold for a client's queue has been reached.
void OnLowerThresholdCrossed(ISessionId client, IMessageQueuePolicy policy)
Parameters
clientISessionIdThe client session identifier.
policyIMessageQueuePolicyThe message queue policy.
OnUpperThresholdCrossed(ISessionId, IMessageQueuePolicy)
The configured upper queue threshold for a client's queue has been reached.
void OnUpperThresholdCrossed(ISessionId client, IMessageQueuePolicy policy)
Parameters
clientISessionIdThe client session identifier.
policyIMessageQueuePolicyThe message queue policy.