public class ErrorFunctionResponse extends ModbusFunction
| 构造器和说明 |
|---|
ErrorFunctionResponse(short functionCode) |
ErrorFunctionResponse(short functionCode,
short exceptionCode) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
calculateLength() |
void |
decode(io.netty.buffer.ByteBuf data) |
io.netty.buffer.ByteBuf |
encode() |
short |
getExceptionCode() |
String |
getExceptionMessage() |
String |
toString() |
getFunctionCode, isErrorpublic ErrorFunctionResponse(short functionCode)
public ErrorFunctionResponse(short functionCode,
short exceptionCode)
public short getExceptionCode()
public String getExceptionMessage()
public int calculateLength()
calculateLength 在类中 ModbusFunctionpublic io.netty.buffer.ByteBuf encode()
encode 在类中 ModbusFunctionpublic void decode(io.netty.buffer.ByteBuf data)
decode 在类中 ModbusFunctionCopyright © 2019. All Rights Reserved.