C++ API Library Reference  4.3.2-74-ge1d4cca
Public Functions | List of all members
IFlowControlManager Class Referenceabstract

The IFlowControlManager interface provides methods to configure the on/off window size. This interface is not commonly used, since the default values work fine in most situations.

Public Functions

virtual int OffWindowSize () const =0
 
virtual int OnWindowSize () const =0
 
virtual void SetWindowSize (int onWindowSize, int offWindowSize)=0
 
virtual ~IFlowControlManager ()
 

Usage Description

virtual int OffWindowSize ( ) const
pure virtual

Returns the minimum window size that will cause flow control to turn SessionFlowControl.TransmitOff.

Implemented in FlowControlManager.

virtual int OnWindowSize ( ) const
pure virtual

Returns the maximum window size that will cause flow control to turn SessionFlowControl.TransmitOn.

Implemented in FlowControlManager.

virtual void SetWindowSize ( int  onWindowSize,
int  offWindowSize 
)
pure virtual

Sets the client-side flow control window size. onWindowSize is the minimum that will cause flow control to turn SessionFlowControl.TransmitOn, and offWindowSize is the maximum that will cause flow control to turn SessionFlowControl.TransmitOn.

Implemented in FlowControlManager.