Class IPAddress

    • Constructor Detail

      • IPAddress

        public IPAddress()
      • IPAddress

        public IPAddress​(IPAddress source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getType

        public String getType()
        Get Ip 地址的类型。可为 advertise, public 等
        Returns:
        Type Ip 地址的类型。可为 advertise, public 等
      • setType

        public void setType​(String Type)
        Set Ip 地址的类型。可为 advertise, public 等
        Parameters:
        Type - Ip 地址的类型。可为 advertise, public 等
      • getIp

        public String getIp()
        Get Ip 地址
        Returns:
        Ip Ip 地址
      • setIp

        public void setIp​(String Ip)
        Set Ip 地址
        Parameters:
        Ip - Ip 地址
      • getPort

        public Long getPort()
        Get 网络端口
        Returns:
        Port 网络端口
      • setPort

        public void setPort​(Long Port)
        Set 网络端口
        Parameters:
        Port - 网络端口