public static enum MessageLoader.StopType extends Enum<MessageLoader.StopType>
Enum Constant and Description |
---|
EXCEPTION |
MSG_SPLITTER |
RUNNING |
SOCKET_CLOSED |
STREAM_END |
Modifier and Type | Method and Description |
---|---|
static MessageLoader.StopType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageLoader.StopType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageLoader.StopType RUNNING
public static final MessageLoader.StopType SOCKET_CLOSED
public static final MessageLoader.StopType STREAM_END
public static final MessageLoader.StopType MSG_SPLITTER
public static final MessageLoader.StopType EXCEPTION
public static MessageLoader.StopType[] values()
for (MessageLoader.StopType c : MessageLoader.StopType.values()) System.out.println(c);
public static MessageLoader.StopType 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 © 2020 Voovan. All rights reserved.