public static enum SessionImpl.State extends Enum<SessionImpl.State>
| Enum Constant and Description |
|---|
CLOSED
Session has been already closed. |
CLOSING
Session is being closed. |
RECEIVING_BINARY
Session is currently receiving binary partial message on registered MessageHandler.Whole. |
RECEIVING_TEXT
Session is currently receiving text partial message on registered MessageHandler.Whole. |
RUNNING
Session is running and is not receiving partial messages on registered MessageHandler.Whole. |
| Modifier and Type | Method and Description |
|---|---|
static SessionImpl.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionImpl.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionImpl.State RUNNING
Session is running and is not receiving partial messages on registered MessageHandler.Whole.public static final SessionImpl.State RECEIVING_TEXT
Session is currently receiving text partial message on registered MessageHandler.Whole.public static final SessionImpl.State RECEIVING_BINARY
Session is currently receiving binary partial message on registered MessageHandler.Whole.public static final SessionImpl.State CLOSING
Session is being closed.public static final SessionImpl.State CLOSED
Session has been already closed.public static SessionImpl.State[] values()
for (SessionImpl.State c : SessionImpl.State.values()) System.out.println(c);
public static SessionImpl.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 © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.