public abstract class ModbusResponseHandler extends ModbusInboundHandler
| 构造器和说明 |
|---|
ModbusResponseHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
ModbusFrame response) |
ModbusFrame |
getResponse(int transactionIdentifier) |
protected abstract void |
processResponseFrame(io.netty.channel.Channel channel,
ModbusFrame frame) |
channelActive, channelInactive, exceptionCaught, setChannelManagerchannelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprotected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
ModbusFrame response)
throws Exception
channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<ModbusFrame>Exceptionpublic ModbusFrame getResponse(int transactionIdentifier) throws Exception
Exceptionprotected abstract void processResponseFrame(io.netty.channel.Channel channel,
ModbusFrame frame)
Copyright © 2019. All Rights Reserved.