public final class DnsRCode extends NamedNumber<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
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DnsRCode o) |
static DnsRCode |
getInstance(Byte value) |
static DnsRCode |
register(DnsRCode code) |
equals, hashCode, name, toString, value, valueAsString
public 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 static DnsRCode getInstance(Byte value)
value
- valuepublic static DnsRCode register(DnsRCode code)
code
- codepublic int compareTo(DnsRCode o)
compareTo
in interface Comparable<DnsRCode>
compareTo
in class NamedNumber<Byte,DnsRCode>
Copyright © 2011–2018 Pcap4J.org. All rights reserved.