CosFlowControl encapsulates flow control member of the ClassOfService class.
More...
CosFlowControl contains options related to flow control, such as the type and the allowed window of outstanding data.
- See also
- ClassOfService
Definition at line 171 of file TunnelStreamRequest.h.
◆ CosFlowControlType
An enumeration representing flow control type.
Enumerator |
---|
NoneEnum | Indicates no flow control
|
BidirectionalEnum | Indicates bidirectional flow control
|
Definition at line 178 of file TunnelStreamRequest.h.
◆ CosFlowControl() [1/2]
refinitiv::ema::access::CosFlowControl::CosFlowControl |
( |
| ) |
|
◆ CosFlowControl() [2/2]
refinitiv::ema::access::CosFlowControl::CosFlowControl |
( |
const CosFlowControl & |
other | ) |
|
Copy constructor
- Parameters
-
◆ ~CosFlowControl()
virtual refinitiv::ema::access::CosFlowControl::~CosFlowControl |
( |
| ) |
|
|
virtual |
◆ clear()
Clears object by setting defaults
- Returns
- reference to this object
◆ getRecvWindowSize()
Int64 refinitiv::ema::access::CosFlowControl::getRecvWindowSize |
( |
| ) |
const |
Returns receive window size
- Returns
- receive window size
◆ getSendWindowSize()
Int64 refinitiv::ema::access::CosFlowControl::getSendWindowSize |
( |
| ) |
const |
Returns send window size
- Returns
- send window size
◆ getType()
Returns flow control type
- Returns
- flow control type
◆ operator=()
Assignment operator
- Parameters
-
- Returns
- reference to this object
◆ recvWindowSize()
Specifies the amount of data (in bytes) that the remote peer can send to the application over a reliable tunnel stream.
- Parameters
-
[in] | size | specifies number of bytes; valid range is 0 - 2,147,483,647 |
- Returns
- reference to this object
- Exceptions
-
◆ sendWindowSize()
Specifies the amount of data (in bytes) that the application can send to the remote peer over a reliable tunnel stream.
- Parameters
-
[in] | size | specifies number of bytes; valid range is 0 - 2,147,483,647 |
- Returns
- reference to this object
- Exceptions
-
◆ type()
Specifies flow control type
- Parameters
-
[in] | type | flow control type |
- Returns
- reference to this object
- Exceptions
-