Class InternetAddressRR<IA extends java.net.InetAddress>

    • Field Detail

      • ip

        protected final byte[] ip
        Target IP.
    • Method Detail

      • serialize

        public final void serialize​(java.io.DataOutputStream dos)
                             throws java.io.IOException
        Description copied from class: Data
        The internal method used to serialize Data subclasses.
        Specified by:
        serialize in class Data
        Parameters:
        dos - the output stream to serialize to.
        Throws:
        java.io.IOException - if an I/O error occurs.
      • getIp

        public final byte[] getIp()
        Allocates a new byte buffer and fills the buffer with the bytes representing the IP address of this resource record.
        Returns:
        a new byte buffer containing the bytes of the IP.
      • from

        public static InternetAddressRR<? extends java.net.InetAddress> from​(java.net.InetAddress inetAddress)