public interface DnsServerAddressStream
| Modifier and Type | Method and Description | 
|---|---|
| DnsServerAddressStream | duplicate()Duplicate this object. | 
| InetSocketAddress | next()Retrieves the next DNS server address from the stream. | 
| int | size()Get the number of times  next()will return a distinct element before repeating or terminating. | 
InetSocketAddress next()
int size()
next() will return a distinct element before repeating or terminating.next() will return a distinct element before repeating or terminating.DnsServerAddressStream duplicate()
next().
 
 Note that #clone() isn't used because it may make sense for some implementations to have the following
 relationship x.duplicate() == x.
Copyright © 2008–2025 The Netty Project. All rights reserved.