org.jwall.rbl.dns
Class Query

java.lang.Object
  extended by 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>

Method Summary
 Integer getACount()
           
 Integer getARCount()
           
 Integer getFlags()
           
 int getId()
           
 Integer getNSCount()
           
 int getNumberOfSections()
           
 Integer getQCount()
           
 List<QuerySection> getSections()
           
static Query parse(byte[] buf, int offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.