|
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<DNSOptionCode> javax.jmdns.impl.constants.DNSOptionCode
public enum DNSOptionCode
DNS option code.
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
String |
externalName()
Return the string representation of this type |
int |
indexValue()
Return the numeric value of this type |
static DNSOptionCode |
resultCodeForFlags(int optioncode)
|
String |
toString()
|
static DNSOptionCode |
valueOf(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. |
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 DNSOptionCode Unknown
public static final DNSOptionCode LLQ
public static final DNSOptionCode UL
public static final DNSOptionCode NSID
public static final DNSOptionCode Owner
Method Detail |
---|
public static DNSOptionCode[] values()
for (DNSOptionCode c : DNSOptionCode.values()) System.out.println(c);
public static DNSOptionCode 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 DNSOptionCode resultCodeForFlags(int optioncode)
optioncode
-
public String toString()
toString
in class Enum<DNSOptionCode>
|
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 |