public enum DNSOperationCode extends Enum<DNSOperationCode>
Enum Constant and Description |
---|
IQuery
IQuery (Inverse Query, Obsolete) [RFC3425]
|
Notify
Notify [RFC1996]
|
Query
Query [RFC1035]
|
Status
Status [RFC1035]
|
Unassigned
Unassigned
|
Update
Update [RFC2136]
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- 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>
Copyright © 2002–2019 JmDNS. All rights reserved.