Serializable, Comparable<DNSOptionCode>public enum DNSOptionCode extends Enum<DNSOptionCode>
| Enum Constant | 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 | Description |
|---|---|---|
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.
|
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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - 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>Copyright © 2002–2018 JmDNS. All rights reserved.