Public Member Functions | |
DNSResultCode (String name, int index) | |
String | externalName () |
int | indexValue () |
String | toString () |
Static Public Member Functions | |
static DNSResultCode | resultCodeForFlags (int flags) |
static DNSResultCode | resultCodeForFlags (int flags, int extendedRCode) |
Public Attributes | |
FormErr = ("Format Error", 1) | |
NoError = ("No Error", 0) | |
NotAuth = ("Server Not Authoritative for zone", 9) | |
NotImp = ("Not Implemented", 4) | |
NotZone = ("NotZone Name not contained in zone", 10) | |
NXDomain = ("Non-Existent Domain", 3) | |
NXRRSet = ("RR Set that should exist does not", 8) | |
Refused = ("Query Refused", 5) | |
ServFail = ("Server Failure", 2) | |
Unknown = ("Unknown", 65535) | |
YXDomain = ("Name Exists when it should not", 6) | |
YXRRSet = ("RR Set Exists when it should not", 7) | |
Static Public Attributes | |
staticfinal int | ExtendedRCode_MASK = 0xFF |
staticfinal int | RCode_MASK = 0x0F |
Private Attributes | |
final String | _externalName |
final int | _index |
DNS result code.
Definition at line 11 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.DNSResultCode | ( | String | name, |
int | index | ||
) | [inline] |
Definition at line 101 of file DNSResultCode.java.
String javax.jmdns.impl.constants.DNSResultCode.externalName | ( | ) | [inline] |
Return the string representation of this type
Definition at line 111 of file DNSResultCode.java.
int javax.jmdns.impl.constants.DNSResultCode.indexValue | ( | ) | [inline] |
Return the numeric value of this type
Definition at line 120 of file DNSResultCode.java.
static DNSResultCode javax.jmdns.impl.constants.DNSResultCode.resultCodeForFlags | ( | int | flags | ) | [inline, static] |
static DNSResultCode javax.jmdns.impl.constants.DNSResultCode.resultCodeForFlags | ( | int | flags, |
int | extendedRCode | ||
) | [inline, static] |
Definition at line 136 of file DNSResultCode.java.
String javax.jmdns.impl.constants.DNSResultCode.toString | ( | ) | [inline] |
Definition at line 145 of file DNSResultCode.java.
final String javax.jmdns.impl.constants.DNSResultCode._externalName [private] |
Definition at line 97 of file DNSResultCode.java.
final int javax.jmdns.impl.constants.DNSResultCode._index [private] |
Definition at line 99 of file DNSResultCode.java.
static final int javax.jmdns.impl.constants.DNSResultCode.ExtendedRCode_MASK = 0xFF [static] |
DNS Extended Result Code types are encoded on the first 8 bits
Definition at line 95 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.FormErr = ("Format Error", 1) |
Format Error [RFC1035]
Definition at line 23 of file DNSResultCode.java.
No Error [RFC1035]
Definition at line 19 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.NotAuth = ("Server Not Authoritative for zone", 9) |
Server Not Authoritative for zone [RFC2136]]
Definition at line 55 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.NotImp = ("Not Implemented", 4) |
Not Implemented [RFC1035]
Definition at line 35 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.NotZone = ("NotZone Name not contained in zone", 10) |
Name not contained in zone [RFC2136]
Definition at line 59 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.NXDomain = ("Non-Existent Domain", 3) |
Non-Existent Domain [RFC1035]
Definition at line 31 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.NXRRSet = ("RR Set that should exist does not", 8) |
RR Set that should exist does not [RFC2136]
Definition at line 51 of file DNSResultCode.java.
static final int javax.jmdns.impl.constants.DNSResultCode.RCode_MASK = 0x0F [static] |
DNS Result Code types are encoded on the last 4 bits
Definition at line 91 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.Refused = ("Query Refused", 5) |
Query Refused [RFC1035]
Definition at line 39 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.ServFail = ("Server Failure", 2) |
Server Failure [RFC1035]
Definition at line 27 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.Unknown = ("Unknown", 65535) |
Token
Definition at line 15 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.YXDomain = ("Name Exists when it should not", 6) |
Name Exists when it should not [RFC2136]
Definition at line 43 of file DNSResultCode.java.
javax.jmdns.impl.constants.DNSResultCode.YXRRSet = ("RR Set Exists when it should not", 7) |
RR Set Exists when it should not [RFC2136]
Definition at line 47 of file DNSResultCode.java.