public static class WinBase.DCB.DCBControllBits extends WinDef.DWORD
SIZE
Constructor and Description |
---|
DCBControllBits() |
Modifier and Type | Method and Description |
---|---|
boolean |
getfAbortOnError() |
boolean |
getfBinary() |
boolean |
getfDsrSensitivity() |
int |
getfDtrControl() |
int |
getfDummy2() |
boolean |
getfErrorChar() |
boolean |
getfInX() |
boolean |
getfNull() |
boolean |
getfOutX() |
boolean |
getfOutxCtsFlow() |
boolean |
getfOutxDsrFlow() |
boolean |
getfParity() |
int |
getfRtsControl() |
boolean |
getfTXContinueOnXoff() |
void |
setfAbortOnError(boolean fAbortOnError)
If this member is TRUE, the driver terminates all read and write
operations with an error status if an error occurs.
|
void |
setfBinary(boolean fBinary)
If this member is TRUE, binary mode is enabled.
|
void |
setfDsrSensitivity(boolean fDsrSensitivity)
If this member is TRUE, the communications driver is sensitive to the
state of the DSR signal.
|
void |
setfDtrControl(int fOutxDsrFlow)
The DTR (data-terminal-ready) flow control.
|
void |
setfErrorChar(boolean fErrorChar)
Indicates whether bytes received with parity errors are replaced with
the character specified by the ErrorChar member.
|
void |
setfInX(boolean fInX)
Indicates whether XON/XOFF flow control is used during reception.
|
void |
setfNull(boolean fNull)
If this member is TRUE, null bytes are discarded when received.
|
void |
setfOutX(boolean fOutX)
Indicates whether XON/XOFF flow control is used during transmission.
|
void |
setfOutxCtsFlow(boolean fOutxCtsFlow)
If this member is TRUE, the CTS (clear-to-send) signal is monitored
for output flow control.
|
void |
setfOutxDsrFlow(boolean fOutxDsrFlow)
If this member is TRUE, the DSR (data-set-ready) signal is monitored
for output flow control.
|
void |
setfParity(boolean fParity)
If this member is TRUE, parity checking is performed and errors are
reported.
|
void |
setfRtsControl(int fRtsControl)
The RTS (request-to-send) flow control.
|
void |
setfTXContinueOnXoff(boolean fTXContinueOnXoff)
If this member is TRUE, transmission continues after the input buffer
has come within XoffLim bytes of being full and the driver has
transmitted the XoffChar character to stop receiving bytes.
|
java.lang.String |
toString() |
compareTo, getHigh, getLow
compare, compare, compare, doubleValue, equals, floatValue, fromNative, hashCode, intValue, longValue, nativeType, setValue, toNative
public java.lang.String toString()
toString
in class IntegerType
public boolean getfAbortOnError()
public boolean getfBinary()
public boolean getfDsrSensitivity()
public int getfDtrControl()
public boolean getfErrorChar()
public boolean getfInX()
public boolean getfNull()
public boolean getfOutX()
public boolean getfOutxCtsFlow()
public boolean getfOutxDsrFlow()
public boolean getfParity()
public int getfRtsControl()
public int getfDummy2()
public boolean getfTXContinueOnXoff()
public void setfAbortOnError(boolean fAbortOnError)
fAbortOnError
- public void setfBinary(boolean fBinary)
fBinary
- public void setfDsrSensitivity(boolean fDsrSensitivity)
fDsrSensitivity
- public void setfDtrControl(int fOutxDsrFlow)
WinBase.DTR_CONTROL_DISABLE
WinBase.DTR_CONTROL_ENABLE
WinBase.DTR_CONTROL_HANDSHAKE
fOutxDsrFlow
- value to setpublic void setfErrorChar(boolean fErrorChar)
fErrorChar
- public void setfInX(boolean fInX)
fInX
- public void setfNull(boolean fNull)
fNull
- public void setfOutX(boolean fOutX)
fOutX
- public void setfOutxCtsFlow(boolean fOutxCtsFlow)
fOutxCtsFlow
- public void setfOutxDsrFlow(boolean fOutxDsrFlow)
fOutxDsrFlow
- public void setfParity(boolean fParity)
fParity
- public void setfRtsControl(int fRtsControl)
WinBase.RTS_CONTROL_DISABLE
WinBase.RTS_CONTROL_ENABLE
WinBase.RTS_CONTROL_HANDSHAKE
WinBase.RTS_CONTROL_TOGGLE
fRtsControl
- public void setfTXContinueOnXoff(boolean fTXContinueOnXoff)
fTXContinueOnXoff
-