public class DNSResolver
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DNS_PORT |
protected static org.slf4j.Logger |
log |
protected static java.security.SecureRandom |
rand |
protected GenericNodeRuntime |
runtime |
protected static int[] |
TIMEOUTS
Specify the number of retries and the timeout for each here.
|
| Constructor and Description |
|---|
DNSResolver(GenericNodeRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
void |
resolve(java.lang.String name,
java.lang.String type,
IOCompletionHandler<Wire> onComplete) |
protected static final org.slf4j.Logger log
public static final int DNS_PORT
protected static final int[] TIMEOUTS
protected static final java.security.SecureRandom rand
protected final GenericNodeRuntime runtime
public DNSResolver(GenericNodeRuntime runtime)
public void resolve(java.lang.String name,
java.lang.String type,
IOCompletionHandler<Wire> onComplete)
throws OSException
OSExceptionCopyright © 2018 Apigee Corporation. All Rights Reserved.