use of org.apache.plc4x.java.spi.transaction.RequestTransactionManager in project plc4x by apache.
the class ModbusProtocolLogic method setConfiguration.
@Override
public void setConfiguration(ModbusConfiguration configuration) {
this.requestTimeout = Duration.ofMillis(configuration.getRequestTimeout());
this.unitIdentifier = (short) configuration.getUnitIdentifier();
this.tm = new RequestTransactionManager(1);
}
Aggregations