Serializable, Comparable<DNSResultCode>public enum DNSResultCode extends Enum<DNSResultCode>
| Enum Constant | Description |
|---|---|
FormErr |
Format Error [RFC1035]
|
NoError |
No Error [RFC1035]
|
NotAuth |
Server Not Authoritative for zone [RFC2136]]
|
NotImp |
Not Implemented [RFC1035]
|
NotZone |
Name not contained in zone [RFC2136]
|
NXDomain |
Non-Existent Domain [RFC1035]
|
NXRRSet |
RR Set that should exist does not [RFC2136]
|
Refused |
Query Refused [RFC1035]
|
ServFail |
Server Failure [RFC1035]
|
Unknown |
Token
|
YXDomain |
Name Exists when it should not [RFC2136]
|
YXRRSet |
RR Set Exists when it should not [RFC2136]
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
externalName() |
Return the string representation of this type
|
int |
indexValue() |
Return the numeric value of this type
|
static DNSResultCode |
resultCodeForFlags(int flags) |
|
static DNSResultCode |
resultCodeForFlags(int flags,
int extendedRCode) |
|
String |
toString() |
|
static DNSResultCode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DNSResultCode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DNSResultCode Unknown
public static final DNSResultCode NoError
public static final DNSResultCode FormErr
public static final DNSResultCode ServFail
public static final DNSResultCode NXDomain
public static final DNSResultCode NotImp
public static final DNSResultCode Refused
public static final DNSResultCode YXDomain
public static final DNSResultCode YXRRSet
public static final DNSResultCode NXRRSet
public static final DNSResultCode NotAuth
public static final DNSResultCode NotZone
public static DNSResultCode[] values()
for (DNSResultCode c : DNSResultCode.values()) System.out.println(c);
public static DNSResultCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String externalName()
public int indexValue()
public static DNSResultCode resultCodeForFlags(int flags)
flags - public static DNSResultCode resultCodeForFlags(int flags, int extendedRCode)
public String toString()
toString in class Enum<DNSResultCode>Copyright © 2002–2018 JmDNS. All rights reserved.