Package net.handle.dnslib
Class Question
java.lang.Object
net.handle.dnslib.Question
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintappendToWireWithCompression(OutputStream wire, int offset, Map<DomainName, Integer> compressionTable) booleanintgetKlass()getName()intgetType()inthashCode()booleanisAnswerFor(Question question) static QuestionparseWire(byte[] wire, int[] offsetArr)
-
Constructor Details
-
Question
-
-
Method Details
-
getName
-
getType
public int getType() -
getKlass
public int getKlass() -
equals
-
hashCode
public int hashCode() -
parseWire
- Throws:
ParseException
-
appendToWireWithCompression
public int appendToWireWithCompression(OutputStream wire, int offset, Map<DomainName, Integer> compressionTable) throws IOException- Throws:
IOException
-
isAnswerFor
-