protected static enum AtmospherePushConnection.State extends Enum<AtmospherePushConnection.State>
Enum Constant and Description |
---|
CONNECTED
Connected.
|
DISCONNECTED
Not connected.
|
PUSH_PENDING
Not connected.
|
RESPONSE_PENDING
Not connected.
|
Modifier and Type | Method and Description |
---|---|
static AtmospherePushConnection.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AtmospherePushConnection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AtmospherePushConnection.State DISCONNECTED
public static final AtmospherePushConnection.State PUSH_PENDING
public static final AtmospherePushConnection.State RESPONSE_PENDING
public static final AtmospherePushConnection.State CONNECTED
public static AtmospherePushConnection.State[] values()
for (AtmospherePushConnection.State c : AtmospherePushConnection.State.values()) System.out.println(c);
public static AtmospherePushConnection.State 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 © 2023. All rights reserved.