org.atmosphere.plugin.rmi
Class RMIFilter
java.lang.Object
org.atmosphere.plugin.rmi.RMIFilter
- All Implemented Interfaces:
- org.atmosphere.cpr.BroadcastFilter, org.atmosphere.cpr.BroadcastFilterLifecycle, org.atmosphere.cpr.ClusterBroadcastFilter
public class RMIFilter
- extends Object
- implements org.atmosphere.cpr.ClusterBroadcastFilter
This ClusterBroadcastFilter supports broadcasting through RMI in the set of instances composing the cluster.
- Since:
- 1.1.1
- Version:
- 1.0
- Author:
- Guillaume DROUET
- See Also:
RMIPeerManager
| 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 |
RMIFilter
public RMIFilter()
destroy
public void destroy()
-
- Specified by:
destroy in interface org.atmosphere.cpr.BroadcastFilterLifecycle
init
public void init(org.atmosphere.cpr.AtmosphereConfig config)
-
- Specified by:
init in interface org.atmosphere.cpr.BroadcastFilterLifecycle
filter
public org.atmosphere.cpr.BroadcastFilter.BroadcastAction filter(Object originalMessage,
Object message)
-
- 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
setBroadcaster
public void setBroadcaster(org.atmosphere.cpr.Broadcaster bc)
-
- Specified by:
setBroadcaster in interface org.atmosphere.cpr.ClusterBroadcastFilter
setUri
public void setUri(String clusterUri)
-
- Specified by:
setUri in interface org.atmosphere.cpr.ClusterBroadcastFilter
Copyright © 2013. All Rights Reserved.