public class ResolverAnswer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResolverAnswer.STATUS |
Modifier and Type | Field and Description |
---|---|
int |
qip |
ByteChars |
qname |
byte |
qtype |
ResolverAnswer.STATUS |
result |
Constructor and Description |
---|
ResolverAnswer() |
Modifier and Type | Method and Description |
---|---|
ResolverAnswer |
clear() |
ResourceData |
get(int index) |
ResourceData.RR_A |
getA() |
ResourceData.RR_AAAA |
getAAAA() |
ResourceData.RR_MX |
getMX(int index) |
ResourceData.RR_NS |
getNS(int index) |
ResourceData.RR_PTR |
getPTR() |
ResourceData.RR_SOA |
getSOA() |
ResourceData.RR_SRV |
getSRV(int index) |
ResourceData.RR_TXT |
getTXT() |
ResolverAnswer |
set(ResolverAnswer.STATUS res,
byte qt,
ByteChars qn) |
ResolverAnswer |
set(ResolverAnswer.STATUS res,
byte qt,
int ip) |
ResolverAnswer |
set(ResolverAnswer ans2) |
int |
size() |
String |
toString() |
StringBuilder |
toString(StringBuilder sb) |
public byte qtype
public ByteChars qname
public int qip
public ResolverAnswer.STATUS result
public int size()
public ResourceData get(int index)
public ResourceData.RR_A getA()
public ResourceData.RR_PTR getPTR()
public ResourceData.RR_NS getNS(int index)
public ResourceData.RR_SOA getSOA()
public ResourceData.RR_MX getMX(int index)
public ResourceData.RR_TXT getTXT()
public ResourceData.RR_SRV getSRV(int index)
public ResourceData.RR_AAAA getAAAA()
public ResolverAnswer set(ResolverAnswer.STATUS res, byte qt, ByteChars qn)
public ResolverAnswer set(ResolverAnswer.STATUS res, byte qt, int ip)
public ResolverAnswer set(ResolverAnswer ans2)
public ResolverAnswer clear()
public StringBuilder toString(StringBuilder sb)
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.