public class WelcomeMessage extends WampMessage
Server-to-Client message
| Modifier and Type | Field and Description |
|---|---|
static int |
PROTOCOL_VERSION |
| 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 |
getSessionId() |
String |
toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) |
String |
toString() |
addHeader, fromJson, getHeader, getType, getWampSession, getWebSocketSessionIdpublic static final int PROTOCOL_VERSION
public WelcomeMessage(com.fasterxml.jackson.core.JsonParser jp)
throws IOException
IOExceptionpublic String getSessionId()
public int getProtocolVersion()
public String getServerIdent()
public String toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) throws IOException
toJson in class WampMessageIOExceptionCopyright © 2014–2015. All rights reserved.