public interface ModbusClientConfig
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_AUTO_RECONNECT
The default automatic reconnection setting.
|
static long |
DEFAULT_RECONNECT_DELAY_SECS
The default reconnection delay seconds.
|
| Modifier and Type | Method and Description |
|---|---|
default long |
getAutoReconnectDelaySeconds()
Get the number of seconds to delay attempting to automatically
reestablish a connection when the
isAutoReconnect() setting is
enabled. |
String |
getDescription()
Get a description of this Modbus client configuration.
|
default long |
getSendMinimumDelayMs()
Get a minimum delay between sending messages, in milliseconds.
|
default boolean |
isAutoReconnect()
Get the "auto reconnect" setting.
|
static final boolean DEFAULT_AUTO_RECONNECT
static final long DEFAULT_RECONNECT_DELAY_SECS
default boolean isAutoReconnect()
default long getAutoReconnectDelaySeconds()
isAutoReconnect() setting is
enabled.isAutoReconnect()
returns trueString getDescription()
This intention of this value is for use in logging and debugging contexts. It should return something meaningful and specific to the configuration, such as a description of the connection like the serial port name or TCP host and port.
default long getSendMinimumDelayMs()