The FlowControlManager
class is an implementation of IFlowControlManager. It provides methods to configure the on/off window size. Changing the default is rare.
Initializes the plugin with the specified StateManager.
- Parameters
-
stateManager | The StateManager. |
Implemented in ViewManager.
void SessionConnected |
( |
Guid |
sessionId, |
|
|
XElement |
command |
|
) |
| |
|
inherited |
Indicates that the specified session is connected.
- Parameters
-
sessionId | The session's unique identifier. |
command | The command that caused the connection. |
void SessionDisconnected |
( |
Guid |
sessionId, |
|
|
XElement |
command |
|
) |
| |
|
inherited |
Indicates that the specified session is disconnected.
- Parameters
-
sessionId | The session's unique identifer. |
command | The command that caused the disconnection. |
void SetWindowSize |
( |
int |
onWindowSize, |
|
|
int |
offWindowSize |
|
) |
| |
|
inline |
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
-
onWindowSize | The new on window size. |
offWindowSize | The new off window size. |
Implements IFlowControlManager.