Interface IQueueEventStream

Handler for client queue events.

Inherited Members
IStream.OnClose()
ICallback.OnError(ErrorReason)
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients
Assembly: Diffusion.Client.dll
Syntax
public interface IQueueEventStream : IStream, ICallback
Remarks

An implementation can be registered using SetQueueEventHandlerAsync(IQueueEventStream).

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.

Back to top