类 IpParameters

java.lang.Object
com.huangjian.modbus4j.ip.IpParameters

public class IpParameters extends Object

IpParameters class.

  • 构造器详细资料

    • IpParameters

      public IpParameters()
  • 方法详细资料

    • getHost

      public String getHost()

      Getter for the field host.

      返回:
      a String object.
    • setHost

      public void setHost(String host)

      Setter for the field host.

      参数:
      host - a String object.
    • 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

      public Integer getLingerTime()

      Getter for the field linger.

      返回:
      a int.
    • setLingerTime

      public void setLingerTime(Integer lingerTime)

      Setter for the field linger.

      参数:
      lingerTime - a int.