- java.lang.Object
-
- de.ibapl.jnhw.common.memory.AbstractNativeMemory
-
- de.ibapl.jnhw.common.memory.OpaqueMemory32
-
- de.ibapl.jnhw.common.memory.Struct32
-
- de.ibapl.jnhw.winapi.Winbase.DCB
-
- All Implemented Interfaces:
Native
- Enclosing class:
- Winbase
public static final class Winbase.DCB extends Struct32
WIN:structure DCB.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
OpaqueMemory32.OpaqueMemory32Producer<T extends OpaqueMemory32,P extends AbstractNativeMemory>
-
Nested classes/interfaces inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
AbstractNativeMemory.NativeMemoryAlignment
-
-
Field Summary
-
Fields inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
sizeInBytes
-
Fields inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
baseAddress, LOG, memoryOwner
-
-
Constructor Summary
Constructors Constructor Description DCB(boolean clearMemory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intBaudRate()voidBaudRate(int BaudRate)byteByteSize()voidByteSize(byte ByteSize)intDCBlength()voidDCBlength(int DCBlength)charEofChar()charErrorChar()charEvtChar()booleanfAbortOnError()booleanfBinary()booleanfDsrSensitivity()bytefDtrControl()Values: DTR_CONTROL_DISABLE DTR_CONTROL_ENABLE DTR_CONTROL_HANDSHAKEintfDummy2()booleanfErrorChar()booleanfInX()voidfInX(boolean fInX)booleanfNull()booleanfOutX()voidfOutX(boolean fOutX)booleanfOutxCtsFlow()voidfOutxCtsFlow(boolean fOutxCtsFlow)booleanfOutxDsrFlow()booleanfParity()bytefRtsControl()Values: RTS_CONTROL_DISABLE RTS_CONTROL_ENABLE RTS_CONTROL_HANDSHAKE RTS_CONTROL_TOGGLEvoidfRtsControl(byte fRtsControl)booleanfTXContinueOnXoff()byteParity()Values: EVENPARITY MARKPARITY NOPARITY ODDPARITY SPACEPARITYvoidParity(byte Parity)static intsizeof()byteStopBits()Values: ONESTOPBIT ONE5STOPBITS TWOSTOPBITSvoidStopBits(byte StopBits)shortwReserved()shortwReserved1()charXoffChar()voidXoffChar(char XoffChar)shortXoffLim()charXonChar()voidXonChar(char XonChar)shortXonLim()-
Methods inherited from class de.ibapl.jnhw.common.memory.Struct32
getBaseDataType, nativeToHexString
-
Methods inherited from class de.ibapl.jnhw.common.memory.OpaqueMemory32
calcNextOffset, clear, copy, copy, equals, getByte, hashCode, memset, nativeToString, nativeToString, offsetof, printMemory, printMemory, setByte, toBytes, toString
-
Methods inherited from class de.ibapl.jnhw.common.memory.AbstractNativeMemory
ENOMEM, isSameAddress
-
-
-
-
Method Detail
-
sizeof
@SizeOf public static final int sizeof()
-
DCBlength
public void DCBlength(int DCBlength)
- Parameters:
DCBlength- the value of DCBlength to be set natively.
-
DCBlength
public int DCBlength()
- Returns:
- the native value of DCBlength.
-
BaudRate
public int BaudRate()
- Returns:
- the native value of BaudRate.
-
BaudRate
public void BaudRate(int BaudRate)
- Parameters:
BaudRate- the value of BaudRate to be set natively.
-
fBinary
public boolean fBinary()
- Returns:
- the native value of fBinary.
-
fParity
public boolean fParity()
- Returns:
- the native value of fParity.
-
fOutxCtsFlow
public boolean fOutxCtsFlow()
- Returns:
- the native value of fOutxCtsFlow.
-
fOutxCtsFlow
public void fOutxCtsFlow(boolean fOutxCtsFlow)
- Parameters:
fOutxCtsFlow- the value of fOutxCtsFlow to be set natively.
-
fOutxDsrFlow
public boolean fOutxDsrFlow()
- Returns:
- the native value of fOutxDsrFlow.
-
fDtrControl
public byte fDtrControl()
Values: DTR_CONTROL_DISABLE DTR_CONTROL_ENABLE DTR_CONTROL_HANDSHAKE- Returns:
- the native value of fDtrControl.
-
fDsrSensitivity
public boolean fDsrSensitivity()
- Returns:
- the native value of fDsrSensitivity.
-
fTXContinueOnXoff
public boolean fTXContinueOnXoff()
- Returns:
- the native value of fTXContinueOnXoff.
-
fOutX
public boolean fOutX()
- Returns:
- the native value of fOutX.
-
fOutX
public void fOutX(boolean fOutX)
- Parameters:
fOutX- the value of fOutX to be set natively.
-
fInX
public boolean fInX()
- Returns:
- the native value of fInX.
-
fInX
public void fInX(boolean fInX)
- Parameters:
fInX- the value of fInX to be set natively.
-
fErrorChar
public boolean fErrorChar()
- Returns:
- the native value of fErrorChar.
-
fNull
public boolean fNull()
- Returns:
- the native value of fNull.
-
fRtsControl
public byte fRtsControl()
Values: RTS_CONTROL_DISABLE RTS_CONTROL_ENABLE RTS_CONTROL_HANDSHAKE RTS_CONTROL_TOGGLE- Returns:
- the native value of fRtsControl.
-
fRtsControl
public void fRtsControl(byte fRtsControl)
- Parameters:
fRtsControl- the value of fRtsControl to be set natively.
-
fAbortOnError
public boolean fAbortOnError()
- Returns:
- the native value of fAbortOnError.
-
fDummy2
public int fDummy2()
- Returns:
- the native value of fDummy2.
-
wReserved
public short wReserved()
- Returns:
- the native value of wReserved.
-
XonLim
public short XonLim()
- Returns:
- the native value of XonLim.
-
XoffLim
public short XoffLim()
- Returns:
- the native value of XoffLim.
-
ByteSize
public byte ByteSize()
- Returns:
- the native value of ByteSize.
-
ByteSize
public void ByteSize(byte ByteSize)
- Parameters:
ByteSize- the value of ByteSize to be set natively.
-
Parity
public byte Parity()
Values: EVENPARITY MARKPARITY NOPARITY ODDPARITY SPACEPARITY- Returns:
- the native value of Parity.
-
Parity
public void Parity(byte Parity)
- Parameters:
Parity- the value of Parity to be set natively.
-
StopBits
public byte StopBits()
Values: ONESTOPBIT ONE5STOPBITS TWOSTOPBITS- Returns:
- the native value of StopBits.
-
StopBits
public void StopBits(byte StopBits)
- Parameters:
StopBits- the value of StopBits to be set natively.
-
XonChar
public char XonChar()
- Returns:
- the native value of XonChar.
-
XonChar
public void XonChar(char XonChar)
- Parameters:
XonChar- the value of XonChar to be set natively.
-
XoffChar
public char XoffChar()
- Returns:
- the native value of XoffChar.
-
XoffChar
public void XoffChar(char XoffChar)
- Parameters:
XoffChar- the value of XoffChar to be set natively.
-
ErrorChar
public char ErrorChar()
- Returns:
- the native value of ErrorChar.
-
EofChar
public char EofChar()
- Returns:
- the native value of EofChar.
-
EvtChar
public char EvtChar()
- Returns:
- the native value of EvtChar.
-
wReserved1
public short wReserved1()
- Returns:
- the native value of wReserved1.
-
-