public class DNSRequestProvider
extends java.lang.Object
Constructor and Description |
---|
DNSRequestProvider(long handle)
Constructor storing the pointer/address to the underlying native object
|
Modifier and Type | Method and Description |
---|---|
DNSRequest |
createDNSRequest()
Creates a new EMPTY DNS resolve requst
|
protected void |
finalize()
Ensures the underlying native object destruction
|
long |
handle()
Gets the pointer/address to the underlying native object
|
Result |
setAdditionalNameServers(java.util.List<java.lang.String> value)
Sets a list with additional name servers
Sets name servers to be used by ARES for DNS resolving in addition to the system ones.
|
public DNSRequestProvider(long handle)
handle
- Pointer/address to the underlying native objectpublic long handle()
protected void finalize()
finalize
in class java.lang.Object
public DNSRequest createDNSRequest()
DNSRequest
public Result setAdditionalNameServers(java.util.List<java.lang.String> value)
value
- The additional name servers to be usedResult