org.atmosphere.plugin.redis
Class RedisFilter
java.lang.Object
org.atmosphere.plugin.redis.RedisFilter
- All Implemented Interfaces:
- org.atmosphere.cpr.BroadcastFilter, org.atmosphere.cpr.BroadcastFilterLifecycle, org.atmosphere.cpr.ClusterBroadcastFilter
public class RedisFilter
- extends Object
- implements org.atmosphere.cpr.ClusterBroadcastFilter
Support for Redis
- Author:
- Jeanfrancois Arcand
| Nested classes/interfaces inherited from interface org.atmosphere.cpr.BroadcastFilter |
org.atmosphere.cpr.BroadcastFilter.BroadcastAction |
| Fields inherited from interface org.atmosphere.cpr.BroadcastFilter |
VOID_ATMOSPHERE_RESOURCE_UUID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedisFilter
public RedisFilter()
RedisFilter
public RedisFilter(URI uri)
setUri
public void setUri(String address)
-
- Specified by:
setUri in interface org.atmosphere.cpr.ClusterBroadcastFilter
init
public void init(org.atmosphere.cpr.AtmosphereConfig config)
-
- Specified by:
init in interface org.atmosphere.cpr.BroadcastFilterLifecycle
destroy
public void destroy()
-
- Specified by:
destroy in interface org.atmosphere.cpr.BroadcastFilterLifecycle
filter
public org.atmosphere.cpr.BroadcastFilter.BroadcastAction filter(Object originalMessage,
Object o)
-
- Specified by:
filter in interface org.atmosphere.cpr.BroadcastFilter
getBroadcaster
public org.atmosphere.cpr.Broadcaster getBroadcaster()
-
- Specified by:
getBroadcaster in interface org.atmosphere.cpr.ClusterBroadcastFilter
getAuth
public String getAuth()
setAuth
public void setAuth(String auth)
setBroadcaster
public void setBroadcaster(org.atmosphere.cpr.Broadcaster bc)
-
- Specified by:
setBroadcaster in interface org.atmosphere.cpr.ClusterBroadcastFilter
Copyright © 2013. All Rights Reserved.