public final class ReportSlaveIdResponse extends AbstractReadResponse
| Constructor and Description |
|---|
ReportSlaveIdResponse() |
| Modifier and Type | Method and Description |
|---|---|
int |
getFunction() |
byte[] |
getSlaveId() |
protected void |
readData(ModbusInputStream fifo) |
void |
setSlaveId(byte[] slaveId) |
protected void |
writeData(ModbusOutputStream fifo) |
getByteCount, readResponse, responseSize, setByteCount, writeResponsegetModbusExceptionCode, isException, pduSize, readPDU, setException, setModbusExceptionCode, writePDUgetProtocolId, getServerAddress, getTransactionId, read, setProtocolId, setServerAddress, setTransactionId, size, writepublic byte[] getSlaveId()
public void setSlaveId(byte[] slaveId)
throws ModbusNumberException
ModbusNumberExceptionprotected void readData(ModbusInputStream fifo) throws IOException
readData in class AbstractReadResponseIOExceptionprotected void writeData(ModbusOutputStream fifo) throws IOException
writeData in class AbstractReadResponseIOExceptionpublic int getFunction()
getFunction in class ModbusMessageCopyright © 2018. All rights reserved.