public enum DNSOptionCode extends java.lang.Enum<DNSOptionCode>
Enum Constant and Description |
---|
LLQ
Long-Lived Queries Option [http://files.dns-sd.org/draft-sekar-dns-llq.txt]
|
NSID
Name Server Identifier Option [RFC5001]
|
Owner
Owner Option [draft-cheshire-edns0-owner-option]
|
UL
Update Leases Option [http://files.dns-sd.org/draft-sekar-dns-ul.txt]
|
Unknown
Token
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
externalName()
Return the string representation of this type
|
int |
indexValue()
Return the numeric value of this type
|
static DNSOptionCode |
resultCodeForFlags(int optioncode) |
java.lang.String |
toString() |
static DNSOptionCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DNSOptionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DNSOptionCode Unknown
public static final DNSOptionCode LLQ
public static final DNSOptionCode UL
public static final DNSOptionCode NSID
public static final DNSOptionCode Owner
public static DNSOptionCode[] values()
for (DNSOptionCode c : DNSOptionCode.values()) System.out.println(c);
public static DNSOptionCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String externalName()
public int indexValue()
public static DNSOptionCode resultCodeForFlags(int optioncode)
optioncode
- public java.lang.String toString()
toString
in class java.lang.Enum<DNSOptionCode>