public class DNSResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DNS_PORT |
protected static org.slf4j.Logger |
log |
protected static 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) |
protected static final org.slf4j.Logger log
public static final int DNS_PORT
protected static final int[] TIMEOUTS
protected static final SecureRandom rand
protected final GenericNodeRuntime runtime
public DNSResolver(GenericNodeRuntime runtime)
public void resolve(String name, String type, IOCompletionHandler<Wire> onComplete) throws OSException
OSExceptionCopyright © 2016 Apigee Corporation. All Rights Reserved.