public static enum ConnectionInfo.Status extends Enum<ConnectionInfo.Status>
Enum Constant and Description |
---|
ContentFormatMismatch |
InsufficientBandwidth |
OK |
Unknown |
UnreliableChannel |
Modifier and Type | Method and Description |
---|---|
static ConnectionInfo.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionInfo.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionInfo.Status OK
public static final ConnectionInfo.Status ContentFormatMismatch
public static final ConnectionInfo.Status InsufficientBandwidth
public static final ConnectionInfo.Status UnreliableChannel
public static final ConnectionInfo.Status Unknown
public static ConnectionInfo.Status[] values()
for (ConnectionInfo.Status c : ConnectionInfo.Status.values()) System.out.println(c);
public static ConnectionInfo.Status 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 © 2016 4th Line GmbH, Switzerland. All rights reserved.