public interface DnsServiceDiscovererObserver
ServiceDiscoverer built by DnsServiceDiscovererBuilder.| Modifier and Type | Interface and Description |
|---|---|
static interface |
DnsServiceDiscovererObserver.DnsDiscoveryObserver
An observer that provides visibility into individual DNS discoveries.
|
static interface |
DnsServiceDiscovererObserver.DnsResolutionObserver
An observer that provides visibility into DNS resolution results.
|
static interface |
DnsServiceDiscovererObserver.ResolutionResult
Results of the current DNS resolution.
|
| Modifier and Type | Method and Description |
|---|---|
DnsServiceDiscovererObserver.DnsDiscoveryObserver |
onNewDiscovery(String name)
Deprecated.
use
onNewDiscovery(String, String) instead. To avoid breaking changes, all
current implementations must implement both methods. In the next version the default implementation will
swap. Then users will be able to keep implementation only for the new method. In the release after, the
deprecated method will be removed. |
default DnsServiceDiscovererObserver.DnsDiscoveryObserver |
onNewDiscovery(String serviceDiscovererId,
String name)
Notifies that a new
discovery started. |
@Deprecated DnsServiceDiscovererObserver.DnsDiscoveryObserver onNewDiscovery(String name)
onNewDiscovery(String, String) instead. To avoid breaking changes, all
current implementations must implement both methods. In the next version the default implementation will
swap. Then users will be able to keep implementation only for the new method. In the release after, the
deprecated method will be removed.discovery started.name - the name of DNS record to be discoveredDnsServiceDiscovererObserver.DnsDiscoveryObserver that provides visibility into individual DNS resolutions behind the
associated discoverydefault DnsServiceDiscovererObserver.DnsDiscoveryObserver onNewDiscovery(String serviceDiscovererId, String name)
discovery started.serviceDiscovererId - the ID of the ServiceDiscoverer.name - the name of DNS record to be discoveredDnsServiceDiscovererObserver.DnsDiscoveryObserver that provides visibility into individual DNS resolutions behind the
associated discovery