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