public abstract class AbstractMultipleRequest extends AbstractDataRequest
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMultipleRequest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
checkAddressRange(int startAddress,
int quantity) |
protected int |
dataSize() |
int |
getQuantity() |
protected void |
readData(ModbusInputStream fifo) |
void |
setQuantity(int quantity) |
protected void |
writeData(ModbusOutputStream fifo) |
getStartAddress, readPDU, requestSize, setStartAddress, writeRequestcreateMessage, getResponse, getResponseClass, pduSize, process, setServerAddress, validateResponse, validateResponseImpl, writePDUgetFunction, getProtocolId, getServerAddress, getTransactionId, read, setProtocolId, setTransactionId, size, writeprotected void readData(ModbusInputStream fifo) throws IOException, ModbusNumberException
readData in class AbstractDataRequestIOExceptionModbusNumberExceptionprotected void writeData(ModbusOutputStream fifo) throws IOException
writeData in class AbstractDataRequestIOExceptionprotected int dataSize()
dataSize in class AbstractDataRequestpublic int getQuantity()
public void setQuantity(int quantity)
throws ModbusNumberException
ModbusNumberExceptionprotected abstract boolean checkAddressRange(int startAddress,
int quantity)
Copyright © 2018. All rights reserved.