Class Inet

    • Constructor Detail

      • Inet

        public Inet()
    • Method Detail

      • getAddress

        public InetAddress getAddress()
        Returns:
        the inet address
      • setAddress

        public Inet setAddress​(InetAddress address)
        Set the inet address
        Parameters:
        address -
        Returns:
        a reference to this, so the API can be used fluently
      • getNetmask

        public Integer getNetmask()
        Returns:
        the optional netmask
      • setNetmask

        public Inet setNetmask​(Integer netmask)
        Set a netmask.
        Parameters:
        netmask - the netmask
        Returns:
        a reference to this, so the API can be used fluently