This interface consists of methods and properties supported by the flow control object.
interface IFlowControl {
// Properties
${outXonXoff}: boolean;
${inXonXoff}: boolean;
${outCtsFlow}: boolean;
${outDsrFlow}: boolean;
${dsrSensitivity}: boolean;
${dtrControl}: ${Terminal.DTRControl};
${rtsControl}: ${Terminal.RTSControl};
}
// This interface is not available in managed environment
// This interface is not available in native environment
outXonXoff: boolean;
// This property is not available in managed environment
// This property is not available in native environment
Indicates whether XON/XOFF flow control is used during transmission. If this member is true, transmission stops when the XoffChar character is received and starts again when the XonChar character is received.
inXonXoff: boolean;
// This property is not available in managed environment
// This property is not available in native environment
Indicates whether XON/XOFF flow control is used during reception. If this member is true, the XoffChar character is sent when the input buffer comes within XoffLim bytes of being full, and the XonChar character is sent when the input buffer comes within XonLim bytes of being empty.
outCtsFlow: boolean;
// This property is not available in managed environment
// This property is not available in native environment
If this member is true, the CTS (clear-to-send) signal is monitored for output flow control. If this member is true and CTS is turned off, output is suspended until CTS is sent again.
outDsrFlow: boolean;
// This property is not available in managed environment
// This property is not available in native environment
If this member is true, the DSR (data-set-ready) signal is monitored for output flow control. If this member is true and DSR is turned off, output is suspended until DSR is sent again.
dsrSensitivity: boolean;
// This property is not available in managed environment
// This property is not available in native environment
If this member is true, the communications driver is sensitive to the state of the DSR signal. The driver ignores any bytes received, unless the DSR modem input line is high.
dtrControl: ${Terminal.DTRControl};
// This property is not available in managed environment
// This property is not available in native environment
The DTR (data-terminal-ready) flow control.
rtsControl: ${Terminal.RTSControl};
// This property is not available in managed environment
// This property is not available in native environment
The RTS (request-to-send) flow control.