public class StompBroadcastFilter extends Object implements org.atmosphere.cpr.PerRequestBroadcastFilter, org.atmosphere.cpr.BroadcastFilterLifecycle
This filter transforms the broadcasted String considered as STOMP body to a message.
A specific frame will be created and broadcasted for each subscription for the mapping (the broadcaster ID).
| Constructor and Description |
|---|
StompBroadcastFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
org.atmosphere.cpr.BroadcastFilter.BroadcastAction |
filter(String broadcasterId,
org.atmosphere.cpr.AtmosphereResource atmosphereResource,
Object originalMessage,
Object message) |
org.atmosphere.cpr.BroadcastFilter.BroadcastAction |
filter(String broadcasterId,
Object originalMessage,
Object message) |
void |
init(org.atmosphere.cpr.AtmosphereConfig config) |
public org.atmosphere.cpr.BroadcastFilter.BroadcastAction filter(String broadcasterId, org.atmosphere.cpr.AtmosphereResource atmosphereResource, Object originalMessage, Object message)
filter in interface org.atmosphere.cpr.PerRequestBroadcastFilterpublic org.atmosphere.cpr.BroadcastFilter.BroadcastAction filter(String broadcasterId, Object originalMessage, Object message)
filter in interface org.atmosphere.cpr.BroadcastFilterpublic void init(org.atmosphere.cpr.AtmosphereConfig config)
init in interface org.atmosphere.cpr.BroadcastFilterLifecyclepublic void destroy()
destroy in interface org.atmosphere.cpr.BroadcastFilterLifecycleCopyright © 2015. All Rights Reserved.