|
JmDNS 3.4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DNSResultCode> javax.jmdns.impl.constants.DNSResultCode
public enum DNSResultCode
DNS result code.
Enum Constant Summary | |
---|---|
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] |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- 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>
|
Last updated 2011-08-25 12:40 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |