Class ModbusSerialSlaveEndpoint

  • All Implemented Interfaces:
    ModbusSlaveEndpoint

    @NonNullByDefault
    public class ModbusSerialSlaveEndpoint
    extends Object
    implements ModbusSlaveEndpoint
    Serial endpoint. Endpoint differentiates different modbus slaves only by the serial port. port. Endpoint contains SerialParameters which should be enough to establish the connection.
    Author:
    Sami Salonen - Initial contribution
    • Constructor Detail

      • ModbusSerialSlaveEndpoint

        public ModbusSerialSlaveEndpoint​(String portName,
                                         int baudRate,
                                         int flowControlIn,
                                         int flowControlOut,
                                         int databits,
                                         int stopbits,
                                         int parity,
                                         String encoding,
                                         boolean echo,
                                         int receiveTimeoutMillis)
      • ModbusSerialSlaveEndpoint

        public ModbusSerialSlaveEndpoint​(String portName,
                                         int baudRate,
                                         String flowControlIn,
                                         String flowControlOut,
                                         int databits,
                                         String stopbits,
                                         String parity,
                                         String encoding,
                                         boolean echo,
                                         int receiveTimeoutMillis)