public static enum SocketIOSessionManagerImpl.ConnectionState extends java.lang.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(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()
public static SocketIOSessionManagerImpl.ConnectionState fromInt(int val)
Copyright © 2018. All Rights Reserved.