org.jwall.rbl.dns
Class Response

java.lang.Object
  extended by org.jwall.rbl.dns.Response

public class Response
extends Object


Field Summary
static int AUTHORITATIVE_FLAG
           
static int OP_IQUERY
           
static int OP_NOTIFY
           
static int OP_QUERY
           
static int OP_RESERVED
           
static int OP_STATUS
           
static int OP_UPDATE
           
static int RA_FLAG
           
static int RC_FORMAT_ERROR
           
static int RC_NAME_ERROR
           
static int RC_NO_ERROR
           
static int RC_NOT_AUTH
           
static int RC_NOT_IMPLEMENTED
           
static int RC_NOT_ZONE
           
static int RC_NX_RR_SET
           
static int RC_REFUSED
           
static int RC_SERVER_FAILURE
           
static int RC_XY_DOMAIN
           
static int RC_YX_RR_SET
           
static int RD_FLAG
           
static int RESPONSE_FLAG
           
static int TRUNCATION_FLAG
           
 
Constructor Summary
Response(Query q)
           
 
Method Summary
 void add(ResourceRecord rr)
           
 int getNumberOfRecords()
           
 void setStatus(int status)
           
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESPONSE_FLAG

public static final int RESPONSE_FLAG
See Also:
Constant Field Values

OP_QUERY

public static final int OP_QUERY
See Also:
Constant Field Values

OP_IQUERY

public static final int OP_IQUERY
See Also:
Constant Field Values

OP_STATUS

public static final int OP_STATUS
See Also:
Constant Field Values

OP_RESERVED

public static final int OP_RESERVED
See Also:
Constant Field Values

OP_NOTIFY

public static final int OP_NOTIFY
See Also:
Constant Field Values

OP_UPDATE

public static final int OP_UPDATE
See Also:
Constant Field Values

AUTHORITATIVE_FLAG

public static final int AUTHORITATIVE_FLAG
See Also:
Constant Field Values

TRUNCATION_FLAG

public static final int TRUNCATION_FLAG
See Also:
Constant Field Values

RD_FLAG

public static final int RD_FLAG
See Also:
Constant Field Values

RA_FLAG

public static final int RA_FLAG
See Also:
Constant Field Values

RC_NO_ERROR

public static final int RC_NO_ERROR
See Also:
Constant Field Values

RC_FORMAT_ERROR

public static final int RC_FORMAT_ERROR
See Also:
Constant Field Values

RC_SERVER_FAILURE

public static final int RC_SERVER_FAILURE
See Also:
Constant Field Values

RC_NAME_ERROR

public static final int RC_NAME_ERROR
See Also:
Constant Field Values

RC_NOT_IMPLEMENTED

public static final int RC_NOT_IMPLEMENTED
See Also:
Constant Field Values

RC_REFUSED

public static final int RC_REFUSED
See Also:
Constant Field Values

RC_XY_DOMAIN

public static final int RC_XY_DOMAIN
See Also:
Constant Field Values

RC_YX_RR_SET

public static final int RC_YX_RR_SET
See Also:
Constant Field Values

RC_NX_RR_SET

public static final int RC_NX_RR_SET
See Also:
Constant Field Values

RC_NOT_AUTH

public static final int RC_NOT_AUTH
See Also:
Constant Field Values

RC_NOT_ZONE

public static final int RC_NOT_ZONE
See Also:
Constant Field Values
Constructor Detail

Response

public Response(Query q)
Method Detail

add

public void add(ResourceRecord rr)

getNumberOfRecords

public int getNumberOfRecords()

setStatus

public void setStatus(int status)

toByteArray

public byte[] toByteArray()


Copyright © 2014. All Rights Reserved.