public class Response extends Object
| Modifier and Type | Field and Description |
|---|---|
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 |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ResourceRecord rr) |
int |
getNumberOfRecords() |
void |
setStatus(int status) |
byte[] |
toByteArray() |
public static final int RESPONSE_FLAG
public static final int OP_QUERY
public static final int OP_IQUERY
public static final int OP_STATUS
public static final int OP_RESERVED
public static final int OP_NOTIFY
public static final int OP_UPDATE
public static final int AUTHORITATIVE_FLAG
public static final int TRUNCATION_FLAG
public static final int RD_FLAG
public static final int RA_FLAG
public static final int RC_NO_ERROR
public static final int RC_FORMAT_ERROR
public static final int RC_SERVER_FAILURE
public static final int RC_NAME_ERROR
public static final int RC_NOT_IMPLEMENTED
public static final int RC_REFUSED
public static final int RC_XY_DOMAIN
public static final int RC_YX_RR_SET
public static final int RC_NX_RR_SET
public static final int RC_NOT_AUTH
public static final int RC_NOT_ZONE
public Response(Query q)
public void add(ResourceRecord rr)
public int getNumberOfRecords()
public void setStatus(int status)
public byte[] toByteArray()
Copyright © 2013. All Rights Reserved.