C# 클래스 Examples.ControlClientConflateAndThrottle.MyThresholdHandler

상속: QueueEventHandlerDefault
파일 보기 프로젝트 열기: pushtechnology/diffusion-examples

공개 메소드들

메소드 설명
MyThresholdHandler ( IClientControl clientControl, IClientCallback clientCallback ) : PushTechnology.ClientInterface.Client.Enums
OnLowerThresholdCrossed ( SessionId client, IMessageQueuePolicy policy ) : void

The configured lower threshold for a client's queue has been reached.

OnUpperThresholdCrossed ( SessionId client, IMessageQueuePolicy policy ) : void

The configured upper queue threshold for a client's queue has been reached.

메소드 상세

MyThresholdHandler() 공개 메소드

public MyThresholdHandler ( IClientControl clientControl, IClientCallback clientCallback ) : PushTechnology.ClientInterface.Client.Enums
clientControl IClientControl
clientCallback IClientCallback
리턴 PushTechnology.ClientInterface.Client.Enums

OnLowerThresholdCrossed() 공개 메소드

The configured lower threshold for a client's queue has been reached.
public OnLowerThresholdCrossed ( SessionId client, IMessageQueuePolicy policy ) : void
client SessionId The client session identifier.
policy IMessageQueuePolicy The message queue policy.
리턴 void

OnUpperThresholdCrossed() 공개 메소드

The configured upper queue threshold for a client's queue has been reached.
public OnUpperThresholdCrossed ( SessionId client, IMessageQueuePolicy policy ) : void
client SessionId The client session identifier.
policy IMessageQueuePolicy The message queue policy.
리턴 void