public interface TcpModbusClientConfig
extends net.solarnetwork.io.modbus.ModbusClientConfig
| Modifier and Type | Field | Description |
|---|---|---|
static int |
DEFAULT_PORT |
The default IP port.
|
| Modifier and Type | Method | Description |
|---|---|---|
default String |
getDescription() |
Get the TCP client description.
|
String |
getHost() |
Get the IP address or host name to connect to.
|
default int |
getPort() |
Get the IP port to connect to.
|
static final int DEFAULT_PORT
String getHost()
default int getPort()
default String getDescription()
This implementation returns a string in the form host:port.
getDescription in interface net.solarnetwork.io.modbus.ModbusClientConfig