Interface DnsServiceDiscovererObserver.ResolutionResult
-
- Enclosing interface:
- DnsServiceDiscovererObserver
public static interface DnsServiceDiscovererObserver.ResolutionResult
Results of the current DNS resolution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
nAvailable()
Number of resolved records that becameavailable
.int
nUnavailable()
Number of resolved records that becameunavailable
.int
resolvedRecords()
Number of resolved DNS records.int
ttl()
Minimum Time To Live (TTL) of the resolved DNS records in seconds.
-
-
-
Method Detail
-
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
-
nAvailable
int nAvailable()
Number of resolved records that becameavailable
.- Returns:
- the number of resolved records that became
available
-
nUnavailable
int nUnavailable()
Number of resolved records that becameunavailable
.- Returns:
- the number of resolved records that became
unavailable
-
-