Package ch.rasc.wamp2spring.message
Class UnsubscribeMessage
java.lang.Object
ch.rasc.wamp2spring.message.WampMessage
ch.rasc.wamp2spring.message.UnsubscribeMessage
- All Implemented Interfaces:
org.springframework.messaging.Message<Object>
[UNSUBSCRIBE, Request|id, SUBSCRIBED.Subscription|id]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UnsubscribeMessagedeserialize(com.fasterxml.jackson.core.JsonParser jp) longlongvoidserialize(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
-
UnsubscribeMessage
public UnsubscribeMessage(long requestId, long subscriptionId)
-
-
Method Details
-
deserialize
public static UnsubscribeMessage deserialize(com.fasterxml.jackson.core.JsonParser jp) throws IOException - Throws:
IOException
-
serialize
- Specified by:
serializein classWampMessage- Throws:
IOException
-
getRequestId
public long getRequestId() -
getSubscriptionId
public long getSubscriptionId() -
toString
-