类 IpParameters
java.lang.Object
com.huangjian.modbus4j.ip.IpParameters
IpParameters class.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getHost()Getter for the fieldhost.Getter for the fieldlinger.intgetPort()Getter for the fieldport.booleanisEncapsulated.voidsetEncapsulated(boolean encapsulated) Setter for the fieldencapsulated.voidSetter for the fieldhost.voidsetLingerTime(Integer lingerTime) Setter for the fieldlinger.voidsetPort(int port) Setter for the fieldport.
-
构造器详细资料
-
IpParameters
public IpParameters()
-
-
方法详细资料
-
getHost
Getter for the field
host.- 返回:
- a
Stringobject.
-
setHost
Setter for the field
host.- 参数:
host- aStringobject.
-
getPort
public int getPort()Getter for the field
port.- 返回:
- a int.
-
setPort
public void setPort(int port) Setter for the field
port.- 参数:
port- a int.
-
isEncapsulated
public boolean isEncapsulated()isEncapsulated.
- 返回:
- a boolean.
-
setEncapsulated
public void setEncapsulated(boolean encapsulated) Setter for the field
encapsulated.- 参数:
encapsulated- a boolean.
-
getLingerTime
Getter for the field
linger.- 返回:
- a int.
-
setLingerTime
Setter for the field
linger.- 参数:
lingerTime- a int.
-