Interface IQueueEventHandler
Handler for client queue events.
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients
Assembly: Diffusion.Client.dll
Syntax
[Obsolete("Deprecated since 6.12. Use IClientControl.SetQueueEventHandlerAsync instead. This interface will be removed in a future release.")]
public interface IQueueEventHandler : IServerHandler
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.
Declaration
void OnLowerThresholdCrossed(ISessionId client, IMessageQueuePolicy policy)
Parameters
Type | Name | Description |
---|---|---|
ISessionId | client | The client session identifier. |
IMessageQueuePolicy | policy | The message queue policy. |
OnUpperThresholdCrossed(ISessionId, IMessageQueuePolicy)
The configured upper queue threshold for a client's queue has been reached.
Declaration
void OnUpperThresholdCrossed(ISessionId client, IMessageQueuePolicy policy)
Parameters
Type | Name | Description |
---|---|---|
ISessionId | client | The client session identifier. |
IMessageQueuePolicy | policy | The message queue policy. |