Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes
javax.jmdns.impl.constants.DNSResultCode Enum Reference

List of all members.

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

Detailed Description

DNS result code.

Author:
Arthur van Hoff, Jeff Sonstein, Werner Randelshofer, Pierre Frisch, Rick Blair

Definition at line 11 of file DNSResultCode.java.


Constructor & Destructor Documentation

javax.jmdns.impl.constants.DNSResultCode.DNSResultCode ( String  name,
int  index 
) [inline]

Definition at line 101 of file DNSResultCode.java.


Member Function Documentation

Return the string representation of this type

Returns:
String

Definition at line 111 of file DNSResultCode.java.

Return the numeric value of this type

Returns:
String

Definition at line 120 of file DNSResultCode.java.

Parameters:
flags
Returns:
label

Definition at line 128 of file DNSResultCode.java.

static DNSResultCode javax.jmdns.impl.constants.DNSResultCode.resultCodeForFlags ( int  flags,
int  extendedRCode 
) [inline, static]

Definition at line 136 of file DNSResultCode.java.

Definition at line 145 of file DNSResultCode.java.


Member Data Documentation

Definition at line 97 of file DNSResultCode.java.

Definition at line 99 of file DNSResultCode.java.

DNS Extended Result Code types are encoded on the first 8 bits

Definition at line 95 of file DNSResultCode.java.

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.

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.

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.

Query Refused [RFC1035]

Definition at line 39 of file DNSResultCode.java.

Server Failure [RFC1035]

Definition at line 27 of file DNSResultCode.java.

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.


The documentation for this enum was generated from the following file:


zeroconf_jmdns_suite
Author(s): Daniel Stonier
autogenerated on Thu Aug 27 2015 15:50:27