public final class DnsRCode extends NamedNumber<java.lang.Byte,DnsRCode>
| Modifier and Type | Field and Description |
|---|---|
static DnsRCode |
FORM_ERR
Format Error: 1
|
static DnsRCode |
NO_ERROR
No Error: 0
|
static DnsRCode |
NOT_AUTH
Not Authorized: 9
|
static DnsRCode |
NOT_IMP
Not Implemented: 4
|
static DnsRCode |
NOT_ZONE
Name not contained in zone: 10
|
static DnsRCode |
NX_DOMAIN
Non-Existent Domain: 3
|
static DnsRCode |
NX_RR_SET
RR Set that should exist does not: 8
|
static DnsRCode |
REFUSED
Query Refused: 5
|
static DnsRCode |
SERV_FAIL
Server Failure: 2
|
static DnsRCode |
YX_DOMAIN
Name Exists when it should not: 6
|
static DnsRCode |
YX_RR_SET
RR Set Exists when it should not: 7
|
| Constructor and Description |
|---|
DnsRCode(java.lang.Byte value,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DnsRCode o) |
static DnsRCode |
getInstance(java.lang.Byte value) |
static DnsRCode |
register(DnsRCode code) |
equals, hashCode, name, toString, value, valueAsStringpublic static final DnsRCode NO_ERROR
public static final DnsRCode FORM_ERR
public static final DnsRCode SERV_FAIL
public static final DnsRCode NX_DOMAIN
public static final DnsRCode NOT_IMP
public static final DnsRCode REFUSED
public static final DnsRCode YX_DOMAIN
public static final DnsRCode YX_RR_SET
public static final DnsRCode NX_RR_SET
public static final DnsRCode NOT_AUTH
public static final DnsRCode NOT_ZONE
public DnsRCode(java.lang.Byte value,
java.lang.String name)
value - valuename - namepublic static DnsRCode getInstance(java.lang.Byte value)
value - valuepublic static DnsRCode register(DnsRCode code)
code - codepublic int compareTo(DnsRCode o)
compareTo in interface java.lang.Comparable<DnsRCode>compareTo in class NamedNumber<java.lang.Byte,DnsRCode>Copyright © 2011 - 2018 Pcap4J.org. All rights reserved.