org.atmosphere.plugin.rmi
Class RMIFilter

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface org.atmosphere.cpr.BroadcastFilter
org.atmosphere.cpr.BroadcastFilter.BroadcastAction
 
Field Summary
 
Fields inherited from interface org.atmosphere.cpr.BroadcastFilter
VOID_ATMOSPHERE_RESOURCE_UUID
 
Constructor Summary
RMIFilter()
           
 
Method Summary
 void destroy()
          
 org.atmosphere.cpr.BroadcastFilter.BroadcastAction filter(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)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIFilter

public RMIFilter()
Method Detail

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.