java.lang.Object
io.qt.QtObject
io.qt.serialbus.QModbusPdu
io.qt.serialbus.QModbusResponse
io.qt.serialbus.QModbusExceptionResponse
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Container class containing the function and error code inside a Modbus ADU
Java wrapper for Qt's class QModbusExceptionResponse
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.serialbus.QModbusResponse
QModbusResponse.CalcFunction
Nested classes/interfaces inherited from class io.qt.serialbus.QModbusPdu
QModbusPdu.ExceptionCode, QModbusPdu.FunctionCode
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.serialbus.QModbusPdu
ExceptionByte
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Methods inherited from class io.qt.serialbus.QModbusResponse
calculateDataSize, equals, hashCode, minimumDataSize, readFrom, registerDataSizeCalculator, writeTo
Methods inherited from class io.qt.serialbus.QModbusPdu
assign, data, dataSize, decodeData, decodeData, decodeData, encodeData, encodeData, encodeData, exceptionCode, functionCode, isException, isValid, setData, size, toString
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QModbusExceptionResponse
public QModbusExceptionResponse() -
QModbusExceptionResponse
-
QModbusExceptionResponse
-
QModbusExceptionResponse
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
setExceptionCode
-
setFunctionCode
- Overrides:
setFunctionCode
in classQModbusPdu
-
clone
- Overrides:
clone
in classQModbusResponse
-