public abstract class ResolverDNS extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ResolverDNS.Client |
Modifier and Type | Field and Description |
---|---|
static char |
DOMDLM |
static int |
FLAG_MUSTHAVEDOTS |
static int |
FLAG_NODOTTEDIP |
static int |
FLAG_NOQRY |
static int |
FLAG_SYNTAXONLY |
static int |
MAXDOMAIN |
static int |
MAXNAMELABEL |
static byte |
QTYPE_A |
static byte |
QTYPE_AAAA |
static byte |
QTYPE_ALL |
static byte |
QTYPE_AXFR |
static byte |
QTYPE_CERT |
static byte |
QTYPE_CNAME |
static byte |
QTYPE_DNAME |
static byte |
QTYPE_EDNSOPT |
static byte |
QTYPE_IXFR |
static byte |
QTYPE_LOC |
static byte |
QTYPE_MX |
static byte |
QTYPE_NS |
static byte |
QTYPE_PTR |
static byte |
QTYPE_RP |
static byte |
QTYPE_SOA |
static byte |
QTYPE_SPF |
static byte |
QTYPE_SRV |
static byte |
QTYPE_TXT |
Modifier | Constructor and Description |
---|---|
protected |
ResolverDNS(Dispatcher d,
XmlConfig cfg) |
public static final int FLAG_NOQRY
public static final int FLAG_SYNTAXONLY
public static final int FLAG_MUSTHAVEDOTS
public static final int FLAG_NODOTTEDIP
public static final int MAXDOMAIN
public static final int MAXNAMELABEL
public static final char DOMDLM
public static final byte QTYPE_A
public static final byte QTYPE_NS
public static final byte QTYPE_CNAME
public static final byte QTYPE_SOA
public static final byte QTYPE_PTR
public static final byte QTYPE_MX
public static final byte QTYPE_TXT
public static final byte QTYPE_RP
public static final byte QTYPE_AAAA
public static final byte QTYPE_LOC
public static final byte QTYPE_SRV
public static final byte QTYPE_CERT
public static final byte QTYPE_DNAME
public static final byte QTYPE_EDNSOPT
public static final byte QTYPE_SPF
public static final byte QTYPE_IXFR
public static final byte QTYPE_AXFR
public static final byte QTYPE_ALL
protected ResolverDNS(Dispatcher d, XmlConfig cfg)
public static String getQTYPE(int qtype)
public abstract void start() throws IOException
IOException
public abstract void stop()
public abstract int cancel(ResolverDNS.Client caller) throws IOException
IOException
protected abstract ResolverAnswer resolve(byte qtype, ByteChars qname, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
protected abstract ResolverAnswer resolve(byte qtype, int qip, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
public Dispatcher getDispatcher()
public static ResolverDNS create(Dispatcher dsptch, XmlConfig cfg)
public final ResolverAnswer resolveHostname(ByteChars hostname, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
public final ResolverAnswer resolveIP(int ipaddr, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
public final ResolverAnswer resolveMailDomain(ByteChars maildom, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
public final ResolverAnswer resolveNameServer(ByteChars domnam, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
public final ResolverAnswer resolveSOA(ByteChars domnam, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
public final ResolverAnswer resolveSRV(ByteChars domnam, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
public final ResolverAnswer resolveTXT(ByteChars domnam, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
public final ResolverAnswer resolveAAAA(ByteChars domnam, ResolverDNS.Client caller, Object cbdata, int flags) throws IOException
IOException
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.