Package ch.rasc.wamp2spring.message
Class WelcomeMessage
java.lang.Object
ch.rasc.wamp2spring.message.WampMessage
ch.rasc.wamp2spring.message.WelcomeMessage
- All Implemented Interfaces:
org.springframework.messaging.Message<Object>
[WELCOME, Session|id, Details|dict]
-
Constructor Summary
ConstructorsConstructorDescriptionWelcomeMessage(long sessionId, List<WampRole> roles, String realm) WelcomeMessage(HelloMessage helloMessage, long sessionId, List<WampRole> roles) -
Method Summary
Modifier and TypeMethodDescriptionstatic WelcomeMessagedeserialize(com.fasterxml.jackson.core.JsonParser jp) getRealm()getRoles()longvoidserialize(com.fasterxml.jackson.core.JsonGenerator generator) toString()Methods inherited from class ch.rasc.wamp2spring.message.WampMessage
deserialize, getCode, getHeader, getHeaders, getPayload, getPrincipal, getWampSessionId, getWebSocketSessionId, setHeader, setReceiver, setReceiverWebSocketSessionId
-
Constructor Details
-
WelcomeMessage
-
WelcomeMessage
-
-
Method Details
-
deserialize
public static WelcomeMessage deserialize(com.fasterxml.jackson.core.JsonParser jp) throws IOException - Throws:
IOException
-
serialize
- Specified by:
serializein classWampMessage- Throws:
IOException
-
getSessionId
public long getSessionId() -
getRoles
-
getRealm
-
toString
-