public enum WampMessageHeader extends Enum<WampMessageHeader>
WampMessage. The method
WampMessage.getHeader(WampMessageHeader) returns the value of the specific
header| Enum Constant and Description |
|---|
PRINCIPAL |
WAMP_MESSAGE_TYPE |
WAMP_SESSION |
WEBSOCKET_SESSION_ID |
| Modifier and Type | Method and Description |
|---|---|
static WampMessageHeader |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WampMessageHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WampMessageHeader WAMP_MESSAGE_TYPE
public static final WampMessageHeader PRINCIPAL
public static final WampMessageHeader WEBSOCKET_SESSION_ID
public static final WampMessageHeader WAMP_SESSION
public static WampMessageHeader[] values()
for (WampMessageHeader c : WampMessageHeader.values()) System.out.println(c);
public static WampMessageHeader 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 © 2014–2017. All rights reserved.