public class WelcomeMessage extends WampMessage
Server-to-Client message
| Modifier and Type | Field and Description |
|---|---|
static int |
PROTOCOL_VERSION |
EMPTY_OBJECT| Constructor and Description |
|---|
WelcomeMessage(com.fasterxml.jackson.core.JsonParser jp) |
WelcomeMessage(String sessionId,
String serverIdent) |
| Modifier and Type | Method and Description |
|---|---|
int |
getProtocolVersion() |
String |
getServerIdent() |
String |
getWebSocketSessionId()
Convenient method to retrieve the WebSocket session id.
|
String |
toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) |
String |
toString() |
fromJson, fromJson, fromJson, getDestination, getHeader, getHeaders, getPayload, getPrincipal, getType, getWampSession, replacePrefix, setDestinationTemplateVariables, setHeader, setWebSocketSessionIdpublic static final int PROTOCOL_VERSION
public WelcomeMessage(com.fasterxml.jackson.core.JsonParser jp)
throws IOException
IOExceptionpublic String getWebSocketSessionId()
WampMessagegetWebSocketSessionId in class WampMessagepublic int getProtocolVersion()
public String getServerIdent()
public String toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) throws IOException
toJson in class WampMessageIOExceptionCopyright © 2014–2017. All rights reserved.