protected static enum AtmospherePushConnection.State extends Enum<AtmospherePushConnection.State>
| Enum Constant and Description |
|---|
CONNECT_PENDING
Opening request has been sent, but still waiting for confirmation.
|
CONNECTED
Connection is open and ready to use.
|
DISCONNECT_PENDING
Connection was disconnected while the connection was pending.
|
DISCONNECTED
Connection has been disconnected and should not be used any more.
|
| 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 CONNECT_PENDING
public static final AtmospherePushConnection.State CONNECTED
public static final AtmospherePushConnection.State DISCONNECT_PENDING
public static final AtmospherePushConnection.State DISCONNECTED
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 © 2000–2026 Vaadin Ltd. All rights reserved.