Package net.handle.dnslib
Class Question
java.lang.Object
net.handle.dnslib.Question
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
appendToWireWithCompression
(OutputStream wire, int offset, Map<DomainName, Integer> compressionTable) boolean
int
getKlass()
getName()
int
getType()
int
hashCode()
boolean
isAnswerFor
(Question question) static Question
parseWire
(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
-