Package ch.rasc.wamp2spring.message
Class GoodbyeMessage
java.lang.Object
ch.rasc.wamp2spring.message.WampMessage
ch.rasc.wamp2spring.message.GoodbyeMessage
- All Implemented Interfaces:
org.springframework.messaging.Message<Object>
[GOODBYE, Details|dict, Reason|uri]
-
Constructor Summary
ConstructorsConstructorDescriptionGoodbyeMessage(WampError reason) GoodbyeMessage(WampError reason, String message) -
Method Summary
Modifier and TypeMethodDescriptionstatic GoodbyeMessagedeserialize(com.fasterxml.jackson.core.JsonParser jp) voidserialize(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
-
GoodbyeMessage
-
GoodbyeMessage
-
-
Method Details
-
deserialize
public static GoodbyeMessage deserialize(com.fasterxml.jackson.core.JsonParser jp) throws IOException - Throws:
IOException
-
serialize
- Specified by:
serializein classWampMessage- Throws:
IOException
-
getReason
-
getMessage
-
toString
-