C# 클래스 Examples.ControlClientConflateAndThrottle

This demonstrates the use of a control client to apply both throttling and conflation to clients. It throttles and conflates all clients that reach their queue thresholds and remove when they go down again. This uses the IClientControl feature.
파일 보기 프로젝트 열기: pushtechnology/diffusion-examples

공개 메소드들

메소드 설명
Close ( ) : void

Close the session.

ControlClientConflateAndThrottle ( IClientCallback callback ) : PushTechnology.ClientInterface.Client.Enums

Constructor.

메소드 상세

Close() 공개 메소드

Close the session.
public Close ( ) : void
리턴 void

ControlClientConflateAndThrottle() 공개 메소드

Constructor.
public ControlClientConflateAndThrottle ( IClientCallback callback ) : PushTechnology.ClientInterface.Client.Enums
callback IClientCallback Notifies callback from throttle requests.
리턴 PushTechnology.ClientInterface.Client.Enums