public static enum SocketIOSessionManagerImpl.ConnectionState extends Enum<SocketIOSessionManagerImpl.ConnectionState>
| Enum Constant and Description |
|---|
CLOSED |
CLOSING |
CONNECTED |
CONNECTING |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static SocketIOSessionManagerImpl.ConnectionState |
fromInt(int val) |
int |
value() |
static SocketIOSessionManagerImpl.ConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketIOSessionManagerImpl.ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketIOSessionManagerImpl.ConnectionState UNKNOWN
public static final SocketIOSessionManagerImpl.ConnectionState CONNECTING
public static final SocketIOSessionManagerImpl.ConnectionState CONNECTED
public static final SocketIOSessionManagerImpl.ConnectionState CLOSING
public static final SocketIOSessionManagerImpl.ConnectionState CLOSED
public static SocketIOSessionManagerImpl.ConnectionState[] values()
for (SocketIOSessionManagerImpl.ConnectionState c : SocketIOSessionManagerImpl.ConnectionState.values()) System.out.println(c);
public static SocketIOSessionManagerImpl.ConnectionState 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 nullpublic int value()
public static SocketIOSessionManagerImpl.ConnectionState fromInt(int val)
Copyright © 2017. All Rights Reserved.