public static enum NetworkNack.Reason extends Enum<NetworkNack.Reason>
| Enum Constant and Description |
|---|
CONGESTION |
DUPLICATE |
NO_ROUTE |
NONE |
OTHER_CODE |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumericType() |
static NetworkNack.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkNack.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkNack.Reason NONE
public static final NetworkNack.Reason CONGESTION
public static final NetworkNack.Reason DUPLICATE
public static final NetworkNack.Reason NO_ROUTE
public static final NetworkNack.Reason OTHER_CODE
public static NetworkNack.Reason[] values()
for (NetworkNack.Reason c : NetworkNack.Reason.values()) System.out.println(c);
public static NetworkNack.Reason 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 final int getNumericType()
Copyright © 2019. All rights reserved.