public class WriteSingleRegisterResponse extends AbstractWriteResponse
| Constructor and Description |
|---|
WriteSingleRegisterResponse() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkValue() |
int |
getFunction() |
int |
getValue() |
protected void |
readValue(ModbusInputStream fifo) |
void |
setValue(int value) |
protected void |
writeValue(ModbusOutputStream fifo) |
getStartAddress, readResponse, responseSize, setStartAddress, writeResponsegetModbusExceptionCode, isException, pduSize, readPDU, setException, setModbusExceptionCode, writePDUgetProtocolId, getServerAddress, getTransactionId, read, setProtocolId, setServerAddress, setTransactionId, size, writeprotected final void readValue(ModbusInputStream fifo) throws IOException
readValue in class AbstractWriteResponseIOExceptionprotected final void writeValue(ModbusOutputStream fifo) throws IOException
writeValue in class AbstractWriteResponseIOExceptionprotected boolean checkValue()
public int getFunction()
getFunction in class ModbusMessagepublic final int getValue()
public final void setValue(int value)
throws ModbusNumberException
ModbusNumberExceptionCopyright © 2018. All rights reserved.