public enum UdpState extends Enum<UdpState>
Enum Constant and Description |
---|
ChallengeReqSent |
Connected |
ConnectSent |
Disconnected |
Disconnecting |
Modifier and Type | Method and Description |
---|---|
static UdpState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UdpState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UdpState Disconnected
public static final UdpState ChallengeReqSent
public static final UdpState ConnectSent
public static final UdpState Connected
public static final UdpState Disconnecting
public static UdpState[] values()
for (UdpState c : UdpState.values()) System.out.println(c);
public static UdpState 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 nullCopyright © 2012. All Rights Reserved.