public class RMIFilter extends Object implements org.atmosphere.cpr.ClusterBroadcastFilter
This ClusterBroadcastFilter supports broadcasting through RMI in the set of instances composing the cluster.
RMIPeerManager| Constructor and Description |
|---|
RMIFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
org.atmosphere.cpr.BroadcastFilter.BroadcastAction |
filter(String broadcasterId,
Object originalMessage,
Object message) |
org.atmosphere.cpr.Broadcaster |
getBroadcaster() |
void |
init(org.atmosphere.cpr.AtmosphereConfig config) |
void |
setBroadcaster(org.atmosphere.cpr.Broadcaster bc) |
void |
setUri(String clusterUri) |
public void destroy()
destroy in interface org.atmosphere.cpr.BroadcastFilterLifecyclepublic void init(org.atmosphere.cpr.AtmosphereConfig config)
init in interface org.atmosphere.cpr.BroadcastFilterLifecyclepublic org.atmosphere.cpr.BroadcastFilter.BroadcastAction filter(String broadcasterId, Object originalMessage, Object message)
filter in interface org.atmosphere.cpr.BroadcastFilterpublic org.atmosphere.cpr.Broadcaster getBroadcaster()
getBroadcaster in interface org.atmosphere.cpr.ClusterBroadcastFilterpublic void setBroadcaster(org.atmosphere.cpr.Broadcaster bc)
setBroadcaster in interface org.atmosphere.cpr.ClusterBroadcastFilterpublic void setUri(String clusterUri)
setUri in interface org.atmosphere.cpr.ClusterBroadcastFilterCopyright © 2016. All Rights Reserved.