Modifier and Type | Class and Description |
---|---|
static class |
DNSClient.AaaRR
Answer, Authority, Additional RR
|
static class |
DNSClient.DataBlock |
static class |
DNSClient.Question<T> |
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
static short |
CLASS_CH |
static short |
CLASS_CS |
static short |
CLASS_HS |
static short |
CLASS_IN |
static short |
TYPE_A |
static short |
TYPE_CNAME |
static short |
TYPE_HINFO |
static short |
TYPE_MB |
static short |
TYPE_MD |
static short |
TYPE_MF |
static short |
TYPE_MG |
static short |
TYPE_MINFO |
static short |
TYPE_MR |
static short |
TYPE_MX |
static short |
TYPE_NS |
static short |
TYPE_NULL |
static short |
TYPE_PTR |
static short |
TYPE_SOA |
static short |
TYPE_TXT |
static short |
TYPE_WKS |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DNSClient(String server,
long dnstimeout) |
Modifier and Type | Method and Description |
---|---|
void |
assignID2Question(int id,
DNSClient.Question<T> q) |
void |
cancel(int id,
T auth)
Cancel the request from outside world.
|
abstract void |
expired(T q)
DNS server sent some response which is not the answer to our query -
callback.
|
abstract void |
finishedEmpty(T q)
Recursive queries were too deep - callback.
|
abstract void |
finishedOK(T a,
DNSClient.AaaRR resp)
We have a valid response back - callback.
|
void |
idle(long now)
This routine is called every dnstimeout milliseconds automatically.
|
boolean |
isBroken() |
float |
missRate() |
float |
missRateF() |
void |
run() |
void |
submit(String hostname,
short type,
short clazz,
T attachment) |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public static final short CLASS_IN
public static final short CLASS_CS
public static final short CLASS_CH
public static final short CLASS_HS
public static final short TYPE_A
public static final short TYPE_NS
public static final short TYPE_MD
public static final short TYPE_MF
public static final short TYPE_CNAME
public static final short TYPE_SOA
public static final short TYPE_MB
public static final short TYPE_MG
public static final short TYPE_MR
public static final short TYPE_NULL
public static final short TYPE_WKS
public static final short TYPE_PTR
public static final short TYPE_HINFO
public static final short TYPE_MINFO
public static final short TYPE_MX
public static final short TYPE_TXT
public DNSClient(String server, long dnstimeout) throws IOException
IOException
public float missRate()
public float missRateF()
public void assignID2Question(int id, DNSClient.Question<T> q)
public void submit(String hostname, short type, short clazz, T attachment) throws IOException
IOException
public abstract void finishedOK(T a, DNSClient.AaaRR resp)
public abstract void expired(T q)
public abstract void finishedEmpty(T q)
public void cancel(int id, T auth)
public void idle(long now)
public boolean isBroken()
Copyright © 2016 Egothor. All Rights Reserved.