|
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<DNSOperationCode> javax.jmdns.impl.constants.DNSOperationCode
public enum DNSOperationCode
DNS operation code.
Enum Constant Summary | |
---|---|
IQuery
IQuery (Inverse Query, Obsolete) [RFC3425] |
|
Notify
Notify [RFC1996] |
|
Query
Query [RFC1035] |
|
Status
Status [RFC1035] |
|
Unassigned
Unassigned |
|
Update
Update [RFC2136] |
Method Summary | |
---|---|
String |
externalName()
Return the string representation of this type |
int |
indexValue()
Return the numeric value of this type |
static DNSOperationCode |
operationCodeForFlags(int flags)
|
String |
toString()
|
static DNSOperationCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DNSOperationCode[] |
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 DNSOperationCode Query
public static final DNSOperationCode IQuery
public static final DNSOperationCode Status
public static final DNSOperationCode Unassigned
public static final DNSOperationCode Notify
public static final DNSOperationCode Update
Method Detail |
---|
public static DNSOperationCode[] values()
for (DNSOperationCode c : DNSOperationCode.values()) System.out.println(c);
public static DNSOperationCode 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 DNSOperationCode operationCodeForFlags(int flags)
flags
-
public String toString()
toString
in class Enum<DNSOperationCode>
|
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 |