org.jwall.rbl.dns
Class Query
java.lang.Object
org.jwall.rbl.dns.Query
public class Query
- extends Object
This class implements the basis for all DNS queries. It provides
a parsing-method for reading query objects from a byte array.
- Author:
- Christian Bockermann <chris@jwall.org>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getId
public int getId()
getFlags
public Integer getFlags()
getARCount
public Integer getARCount()
getNSCount
public Integer getNSCount()
getNumberOfSections
public int getNumberOfSections()
getQCount
public Integer getQCount()
getACount
public Integer getACount()
getSections
public List<QuerySection> getSections()
parse
public static Query parse(byte[] buf,
int offset)
throws Exception
- Throws:
Exception
Copyright © 2014. All Rights Reserved.