Interface DnsServiceDiscovererObserver
-
public interface DnsServiceDiscovererObserver
An observer that provides visibility into DNSServiceDiscoverer
built byDefaultDnsServiceDiscovererBuilder
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DnsServiceDiscovererObserver.DnsDiscoveryObserver
An observer that provides visibility into individual DNS resolutions.static interface
DnsServiceDiscovererObserver.DnsResolutionObserver
An observer that provides visibility into DNS resolution results.static interface
DnsServiceDiscovererObserver.ResolutionResult
Results of the current DNS resolution.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DnsServiceDiscovererObserver.DnsDiscoveryObserver
onNewDiscovery(java.lang.String name)
Notifies that a newdiscovery
started.
-
-
-
Method Detail
-
onNewDiscovery
DnsServiceDiscovererObserver.DnsDiscoveryObserver onNewDiscovery(java.lang.String name)
Notifies that a newdiscovery
started.- Parameters:
name
- the name of DNS record to be discovered- Returns:
DnsServiceDiscovererObserver.DnsDiscoveryObserver
that provides visibility into individual DNS resolutions behind the associated discovery
-
-