C++ API Library Reference
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

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

Parameters
onWindowSizeThe new on window size.
offWindowSizeThe new off window size.

Implemented in FlowControlManager.