public enum RcodeType extends Enum<RcodeType>
| Enum Constant and Description |
|---|
BADALG |
BADCOOKIE |
BADKEY |
BADMODE |
BADNAME |
BADTIME |
BADTRUNC |
BADVERS_OR_BADSIG |
FORMAT_ERROR |
NO_ERROR |
NOT_IMPLEMENTED |
NOTAUTH |
NOTZONE |
NXDOMAIN |
NXRRSET |
REFUSED |
RESERVED |
SERVER_FAILURE |
YXDOMAIN |
YXRRSET |
| Modifier and Type | Method and Description |
|---|---|
static RcodeType |
fromValue(int value) |
char |
getValue() |
static RcodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RcodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RcodeType NO_ERROR
public static final RcodeType FORMAT_ERROR
public static final RcodeType SERVER_FAILURE
public static final RcodeType NXDOMAIN
public static final RcodeType NOT_IMPLEMENTED
public static final RcodeType REFUSED
public static final RcodeType YXDOMAIN
public static final RcodeType YXRRSET
public static final RcodeType NXRRSET
public static final RcodeType NOTAUTH
public static final RcodeType NOTZONE
public static final RcodeType BADVERS_OR_BADSIG
public static final RcodeType BADKEY
public static final RcodeType BADTIME
public static final RcodeType BADMODE
public static final RcodeType BADNAME
public static final RcodeType BADALG
public static final RcodeType BADTRUNC
public static final RcodeType BADCOOKIE
public static final RcodeType RESERVED
public static RcodeType[] values()
for (RcodeType c : RcodeType.values()) System.out.println(c);
public static RcodeType 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 char getValue()
public static RcodeType fromValue(int value)
Copyright © 2020. All rights reserved.