Class DatagramDnsQueryContext

    • Method Detail

      • newQuery

        protected DnsQuery newQuery​(int id,
                                    java.net.InetSocketAddress nameServerAddr)
        Description copied from class: DnsQueryContext
        Creates and returns a new DnsQuery.
        Specified by:
        newQuery in class DnsQueryContext
        Parameters:
        id - the transaction id to use.
        nameServerAddr - the nameserver to which the query will be send.
        Returns:
        the new query.
      • protocol

        protected java.lang.String protocol()
        Description copied from class: DnsQueryContext
        Returns the protocol that is used for the query.
        Specified by:
        protocol in class DnsQueryContext
        Returns:
        the protocol.