public enum WampMessageType extends Enum<WampMessageType>
| Enum Constant and Description |
|---|
CALL |
CALLERROR |
CALLRESULT |
EVENT |
PREFIX |
PUBLISH |
SUBSCRIBE |
UNSUBSCRIBE |
WELCOME |
| Modifier and Type | Method and Description |
|---|---|
static WampMessageType |
fromTypeId(int typeId) |
int |
getTypeId() |
static WampMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WampMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WampMessageType WELCOME
public static final WampMessageType PREFIX
public static final WampMessageType CALL
public static final WampMessageType CALLRESULT
public static final WampMessageType CALLERROR
public static final WampMessageType SUBSCRIBE
public static final WampMessageType UNSUBSCRIBE
public static final WampMessageType PUBLISH
public static final WampMessageType EVENT
public static WampMessageType[] values()
for (WampMessageType c : WampMessageType.values()) System.out.println(c);
public static WampMessageType 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 getTypeId()
public static WampMessageType fromTypeId(int typeId)
Copyright © 2014–2015. All rights reserved.