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

List of all members.

Public Member Functions

 DNSRecordClass (String name, int index)
String externalName ()
int indexValue ()
boolean isUnique (int index)
String toString ()

Static Public Member Functions

static DNSRecordClass classForIndex (int index)
static DNSRecordClass classForName (String name)

Public Attributes

 CLASS_ANY = ("any", 255)
 CLASS_CH = ("ch", 3)
 CLASS_CS = ("cs", 2)
 CLASS_HS = ("hs", 4)
 CLASS_IN = ("in", 1)
 CLASS_NONE = ("none", 254)
 CLASS_UNKNOWN = ("?", 0)

Static Public Attributes

staticfinal int CLASS_MASK = 0x7FFF
staticfinal int CLASS_UNIQUE = 0x8000
staticfinal boolean NOT_UNIQUE = false
staticfinal boolean UNIQUE = true

Private Attributes

final String _externalName
final int _index

Static Private Attributes

staticLogger logger = Logger.getLogger(DNSRecordClass.class.getName())

Detailed Description

DNS Record Class

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

Definition at line 14 of file

Constructor & Destructor Documentation

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

Definition at line 72 of file

Member Function Documentation

class for name

Definition at line 124 of file

class for name

Definition at line 109 of file

Return the string representation of this type


Definition at line 82 of file

Return the numeric value of this type


Definition at line 91 of file

boolean javax.jmdns.impl.constants.DNSRecordClass.isUnique ( int  index) [inline]

Checks if the class is unique

true is the class is unique, false otherwise.

Definition at line 101 of file

Definition at line 134 of file

Member Data Documentation

Definition at line 68 of file

Definition at line 70 of file

Not a DNS class, but a DNS query class, meaning "all classes"

Definition at line 42 of file


Definition at line 30 of file


Definition at line 26 of file


Definition at line 34 of file

static final Internet

Definition at line 22 of file

static final int javax.jmdns.impl.constants.DNSRecordClass.CLASS_MASK = 0x7FFF [static]

Multicast DNS uses the bottom 15 bits to identify the record class...
Except for pseudo records like OPT.

Definition at line 50 of file

Used in DNS UPDATE [RFC 2136]

Definition at line 38 of file

static final int javax.jmdns.impl.constants.DNSRecordClass.CLASS_UNIQUE = 0x8000 [static]

For answers the top bit indicates that all other cached records are now invalid.
For questions it indicates that we should send a unicast response.

Definition at line 56 of file

Definition at line 18 of file

static Logger javax.jmdns.impl.constants.DNSRecordClass.logger = Logger.getLogger(DNSRecordClass.class.getName()) [static, private]

Definition at line 44 of file

static final boolean javax.jmdns.impl.constants.DNSRecordClass.NOT_UNIQUE = false [static]

Definition at line 66 of file

static final boolean javax.jmdns.impl.constants.DNSRecordClass.UNIQUE = true [static]

Definition at line 61 of file

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

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