public abstract class AbstractWriteResponse extends ModbusResponse
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractWriteResponse() |
| Modifier and Type | Method and Description |
|---|---|
int |
getStartAddress() |
protected void |
readResponse(ModbusInputStream fifo) |
protected abstract void |
readValue(ModbusInputStream fifo) |
protected int |
responseSize() |
void |
setStartAddress(int startAddress) |
void |
writeResponse(ModbusOutputStream fifo) |
protected abstract void |
writeValue(ModbusOutputStream fifo) |
getModbusExceptionCode, isException, pduSize, readPDU, setException, setModbusExceptionCode, writePDUgetFunction, getProtocolId, getServerAddress, getTransactionId, read, setProtocolId, setServerAddress, setTransactionId, size, writeprotected final void readResponse(ModbusInputStream fifo) throws IOException
readResponse in class ModbusResponseIOExceptionpublic final void writeResponse(ModbusOutputStream fifo) throws IOException
writeResponse in class ModbusResponseIOExceptionprotected abstract void readValue(ModbusInputStream fifo) throws IOException
IOExceptionprotected abstract void writeValue(ModbusOutputStream fifo) throws IOException
IOExceptionpublic final int getStartAddress()
public void setStartAddress(int startAddress)
throws ModbusNumberException
ModbusNumberExceptionprotected final int responseSize()
responseSize in class ModbusResponseCopyright © 2018. All rights reserved.