Interface DnsServiceDiscovererObserver.ResolutionResult

Enclosing interface:
DnsServiceDiscovererObserver

public static interface DnsServiceDiscovererObserver.ResolutionResult
Results of the current DNS resolution.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Number of resolved records that became available.
    int
    Number of missing records compared to the previous resolution result.
    int
    Number of resolved DNS records.
    int
    ttl()
    Minimum Time To Live (TTL) of the resolved DNS records in seconds.
  • Method Details

    • resolvedRecords

      int resolvedRecords()
      Number of resolved DNS records.
      Returns:
      the number of resolved DNS records
    • ttl

      int ttl()
      Minimum Time To Live (TTL) of the resolved DNS records in seconds.
      Returns:
      the minimum Time To Live (TTL) of the resolved DNS records in seconds
    • nMissing

      int nMissing()
      Number of missing records compared to the previous resolution result.
      Returns:
      number of missing records compared to the previous resolution result.