public static enum SeedServerTestPeerNode.FATE extends java.lang.Enum<SeedServerTestPeerNode.FATE>
| Enum Constant and Description |
|---|
CONNECTED_DISCONNECTED_UNKNOWN |
CONNECTED_NO_PACKETS_RECEIVED |
CONNECTED_SUCCESS |
CONNECTED_TIMEOUT_NO_PACKETS_RECEIVED |
CONNECTED_TOO_OLD |
NEVER_CONNECTED |
| Modifier and Type | Method and Description |
|---|---|
static SeedServerTestPeerNode.FATE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SeedServerTestPeerNode.FATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeedServerTestPeerNode.FATE NEVER_CONNECTED
public static final SeedServerTestPeerNode.FATE CONNECTED_NO_PACKETS_RECEIVED
public static final SeedServerTestPeerNode.FATE CONNECTED_TOO_OLD
public static final SeedServerTestPeerNode.FATE CONNECTED_SUCCESS
public static final SeedServerTestPeerNode.FATE CONNECTED_TIMEOUT_NO_PACKETS_RECEIVED
public static final SeedServerTestPeerNode.FATE CONNECTED_DISCONNECTED_UNKNOWN
public static SeedServerTestPeerNode.FATE[] values()
for (SeedServerTestPeerNode.FATE c : SeedServerTestPeerNode.FATE.values()) System.out.println(c);
public static SeedServerTestPeerNode.FATE valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null