C# Class 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.
ファイルを表示 Open project: pushtechnology/diffusion-examples

Public Methods

Method Description
Close ( ) : void

Close the session.

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

Constructor.

Method Details

Close() public method

Close the session.
public Close ( ) : void
return void

ControlClientConflateAndThrottle() public method

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