open class DnsClientOptions
Configuration options for Vert.x DNS client.
Author
Julien Viet
DnsClientOptions()DnsClientOptions(json: JsonObject)DnsClientOptions(other: DnsClientOptions) |
static val DEFAULT_HOST: String
The default value for the host = localhost |
|
static val DEFAULT_PORT: Int
The default value for the port = 53 |
|
static val DEFAULT_QUERY_TIMEOUT: Long
The default value for the query timeout in millis = 5000 |
open fun getHost(): String
Get the host name to be used by this client in requests. |
|
open fun getPort(): Int
Get the port to be used by this client in requests. |
|
open fun getQueryTimeout(): Long |
|
open fun setHost(host: String): DnsClientOptions
Set the host name to be used by this client in requests. |
|
open fun setPort(port: Int): DnsClientOptions
Set the port to be used by this client in requests. |
|
open fun setQueryTimeout(queryTimeout: Long): DnsClientOptions
Set the query timeout in milliseconds, i.e the amount of time after a query is considered to be failed. |
|
open fun toJson(): JsonObject |