Class DnsSrvRecord

    • Method Detail

      • getNameTarget

        public String getNameTarget()
        Retrieves the value of the target property.
        Returns:
        target
      • getPriority

        public int getPriority()
        Retrieves the value of the priority property.
        Returns:
        priority
      • getWeight

        public int getWeight()
        Retrieves the value of the weight property.
        Returns:
        weight
      • getPort

        public int getPort()
        Retrieves the value of the port property.
        Returns:
        port
      • load

        protected void load​(String srvRecord)
                     throws DnsException
        Initializes a new instance of the DnsSrvRecord class.
        Parameters:
        srvRecord - srvRecord that is fetched from JNDI
        Throws:
        DnsException - the dns exception
      • getName

        public String getName()
        Retrieves the value of the name property.
        Returns:
        name
      • getTimeToLive

        public int getTimeToLive()
        Retrieves the value of the timeToLive property.
        Returns:
        timeToLive