类 AsciiRequestHandler
java.lang.Object
com.huangjian.modbus4j.base.BaseRequestHandler
com.huangjian.modbus4j.serial.ascii.AsciiRequestHandler
- 所有已实现的接口:
RequestHandler
AsciiRequestHandler class.
-
字段概要
从类继承的字段 com.huangjian.modbus4j.base.BaseRequestHandler
slave -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Handle the request and return the appropriate response object.从类继承的方法 com.huangjian.modbus4j.base.BaseRequestHandler
handleRequestImpl
-
构造器详细资料
-
AsciiRequestHandler
Constructor for AsciiRequestHandler.
- 参数:
slave- aModbusSlaveSetobject.
-
-
方法详细资料
-
handleRequest
Handle the request and return the appropriate response object.- 参数:
req- the request to handle- 返回:
- the response object or null if no response is to be sent. null may also be returned if the request is handled asynchronously.
- 抛出:
Exception- if necessary
-