public class RedisFilter extends Object implements org.atmosphere.cpr.ClusterBroadcastFilter
| Constructor and Description |
|---|
RedisFilter() |
RedisFilter(URI uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
org.atmosphere.cpr.BroadcastFilter.BroadcastAction |
filter(String broadcasterId,
Object originalMessage,
Object o) |
String |
getAuth() |
org.atmosphere.cpr.Broadcaster |
getBroadcaster() |
void |
init(org.atmosphere.cpr.AtmosphereConfig config) |
void |
setAuth(String auth) |
void |
setBroadcaster(org.atmosphere.cpr.Broadcaster bc) |
void |
setUri(String address) |
public RedisFilter()
public RedisFilter(URI uri)
public void setUri(String address)
setUri in interface org.atmosphere.cpr.ClusterBroadcastFilterpublic void init(org.atmosphere.cpr.AtmosphereConfig config)
init in interface org.atmosphere.cpr.BroadcastFilterLifecyclepublic void destroy()
destroy in interface org.atmosphere.cpr.BroadcastFilterLifecyclepublic org.atmosphere.cpr.BroadcastFilter.BroadcastAction filter(String broadcasterId, Object originalMessage, Object o)
filter in interface org.atmosphere.cpr.BroadcastFilterpublic org.atmosphere.cpr.Broadcaster getBroadcaster()
getBroadcaster in interface org.atmosphere.cpr.ClusterBroadcastFilterpublic String getAuth()
public void setAuth(String auth)
public void setBroadcaster(org.atmosphere.cpr.Broadcaster bc)
setBroadcaster in interface org.atmosphere.cpr.ClusterBroadcastFilterCopyright © 2016. All Rights Reserved.