public class EventMessage extends PubSubMessage
Server-to-Client message
EMPTY_OBJECT| Constructor and Description |
|---|
EventMessage(EventMessage originEventMessage,
String receiverWebSocketSessionId) |
EventMessage(com.fasterxml.jackson.core.JsonParser jp) |
EventMessage(com.fasterxml.jackson.core.JsonParser jp,
WampSession wampSession) |
EventMessage(PublishMessage publishMessage,
String receiverWebSocketSessionId) |
EventMessage(String topicURI,
Object event) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getEligibleWebSocketSessionIds() |
Object |
getEvent() |
Set<String> |
getExcludeWebSocketSessionIds() |
void |
setEligibleWebSocketSessionIds(Set<String> eligibleSessionIds) |
void |
setExcludeWebSocketSessionIds(Set<String> excludeSessionIds) |
String |
toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) |
String |
toString() |
getDestination, getTopicURI, setTopicURIfromJson, fromJson, fromJson, getHeader, getHeaders, getPayload, getPrincipal, getType, getWampSession, getWebSocketSessionId, replacePrefix, setDestinationTemplateVariables, setHeader, setWebSocketSessionIdpublic EventMessage(EventMessage originEventMessage, String receiverWebSocketSessionId)
public EventMessage(PublishMessage publishMessage, String receiverWebSocketSessionId)
public EventMessage(com.fasterxml.jackson.core.JsonParser jp)
throws IOException
IOExceptionpublic EventMessage(com.fasterxml.jackson.core.JsonParser jp,
WampSession wampSession)
throws IOException
IOExceptionpublic Object getEvent()
public void setExcludeWebSocketSessionIds(Set<String> excludeSessionIds)
public void setEligibleWebSocketSessionIds(Set<String> eligibleSessionIds)
public String toJson(com.fasterxml.jackson.core.JsonFactory jsonFactory) throws IOException
toJson in class WampMessageIOExceptionCopyright © 2014–2017. All rights reserved.