public class NettyTcpModbusClientConfig extends net.solarnetwork.io.modbus.netty.handler.NettyModbusClientConfig implements TcpModbusClientConfig
TcpModbusClientConfig.DEFAULT_PORT| Constructor and Description |
|---|
NettyTcpModbusClientConfig()
Constructor.
|
NettyTcpModbusClientConfig(String host,
int port)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
Get the host to connect to.
|
int |
getPort()
Get the IP port to connect to.
|
void |
setHost(String host)
Set the host to connect to.
|
void |
setPort(int port)
Set the IP port to connect to.
|
getAutoReconnectDelaySeconds, getSendMinimumDelayMs, isAutoReconnect, setAutoReconnect, setAutoReconnectDelaySeconds, setSendMinimumDelayMs, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescriptionpublic NettyTcpModbusClientConfig()
public NettyTcpModbusClientConfig(String host, int port)
host - the hostport - the portpublic String getHost()
getHost in interface TcpModbusClientConfigpublic void setHost(String host)
host - the host to setpublic int getPort()
getPort in interface TcpModbusClientConfigpublic void setPort(int port)
port - the port to set