类 SerialSlave
java.lang.Object
com.huangjian.modbus4j.Modbus
com.huangjian.modbus4j.ModbusSlaveSet
com.huangjian.modbus4j.serial.SerialSlave
- 直接已知子类:
AsciiSlave,RtuSlave
Abstract SerialSlave class.
-
字段概要
字段从类继承的字段 com.huangjian.modbus4j.Modbus
DEFAULT_MAX_READ_BIT_COUNT, DEFAULT_MAX_READ_REGISTER_COUNT, DEFAULT_MAX_WRITE_REGISTER_COUNT -
构造器概要
构造器 -
方法概要
从类继承的方法 com.huangjian.modbus4j.ModbusSlaveSet
addProcessImage, getProcessImage, getProcessImages, removeProcessImage, removeProcessImage
-
字段详细资料
-
transport
-
-
构造器详细资料
-
SerialSlave
Constructor for SerialSlave.
- 参数:
wrapper- aSerialPortWrapperobject.
-
-
方法详细资料
-
start
Starts the slave. If an exception is not thrown, this method does not return, but uses the thread to execute the listening.- 指定者:
start在类中ModbusSlaveSet- 抛出:
ModbusInitException- if necessary
-
stop
public void stop()stop.
- 指定者:
stop在类中ModbusSlaveSet
-