Package io.netty.resolver.dns
Class DnsResolveContext.AuthoritativeNameServerList
java.lang.Object
io.netty.resolver.dns.DnsResolveContext.AuthoritativeNameServerList
- Enclosing class:
DnsResolveContext<T>
Holds the closed DNS Servers for a domain.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) List
<InetSocketAddress> Creates a newList
which holds theInetSocketAddress
es.private static void
cache
(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache cache, EventLoop loop) private static void
cacheUnresolved
(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache authoritativeCache, EventLoop loop) (package private) void
handleWithAdditional
(DnsNameResolver parent, DnsRecord r, AuthoritativeDnsServerCache authoritativeCache) (package private) void
handleWithoutAdditionals
(DnsNameResolver parent, DnsCache cache, AuthoritativeDnsServerCache authoritativeCache) (package private) boolean
isEmpty()
Returnstrue
if empty,false
otherwise.
-
Field Details
-
questionName
-
head
-
nameServerCount
private int nameServerCount
-
-
Constructor Details
-
AuthoritativeNameServerList
AuthoritativeNameServerList(String questionName)
-
-
Method Details
-
add
-
handleWithAdditional
void handleWithAdditional(DnsNameResolver parent, DnsRecord r, AuthoritativeDnsServerCache authoritativeCache) -
handleWithoutAdditionals
void handleWithoutAdditionals(DnsNameResolver parent, DnsCache cache, AuthoritativeDnsServerCache authoritativeCache) -
cacheUnresolved
private static void cacheUnresolved(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache authoritativeCache, EventLoop loop) -
cache
private static void cache(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache cache, EventLoop loop) -
isEmpty
boolean isEmpty()Returnstrue
if empty,false
otherwise. -
addressList
List<InetSocketAddress> addressList()Creates a newList
which holds theInetSocketAddress
es.
-