public enum SimpMessageType extends Enum<SimpMessageType>
Enum Constant and Description |
---|
CONNECT |
CONNECT_ACK |
DISCONNECT |
DISCONNECT_ACK |
HEARTBEAT |
MESSAGE |
OTHER |
SUBSCRIBE |
UNSUBSCRIBE |
Modifier and Type | Method and Description |
---|---|
static SimpMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpMessageType CONNECT
public static final SimpMessageType CONNECT_ACK
public static final SimpMessageType MESSAGE
public static final SimpMessageType SUBSCRIBE
public static final SimpMessageType UNSUBSCRIBE
public static final SimpMessageType HEARTBEAT
public static final SimpMessageType DISCONNECT
public static final SimpMessageType DISCONNECT_ACK
public static final SimpMessageType OTHER
public static SimpMessageType[] values()
for (SimpMessageType c : SimpMessageType.values()) System.out.println(c);
public static SimpMessageType 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 null