com.adventnet.adaptors.rmi
Class RemoteNotificationFilterImpl

java.lang.Object
  |
  +--com.adventnet.adaptors.rmi.RemoteNotificationFilterImpl

public class RemoteNotificationFilterImpl
extends java.lang.Object
implements RemoteNotificationFilter

This class acts as a wrapper for the notificationfilter implementation and will be used for filtering the notifications to the client side of the rmi environment.


Field Summary
(package private)  NotificationFilter notifFilter
           
 
Constructor Summary
RemoteNotificationFilterImpl()
          Default Constructor for the NotificationFilterImpl
RemoteNotificationFilterImpl(NotificationFilter notifFilter)
          Constructor that takes the NotificationFilter instance that this RemoteNotificationFilter would represent on the client side.
 
Method Summary
 boolean isNotificationEnabled(Notification notification)
          Invoked before sending the specified notification to the remote listener.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notifFilter

NotificationFilter notifFilter
Constructor Detail

RemoteNotificationFilterImpl

public RemoteNotificationFilterImpl()
Default Constructor for the NotificationFilterImpl

RemoteNotificationFilterImpl

public RemoteNotificationFilterImpl(NotificationFilter notifFilter)
Constructor that takes the NotificationFilter instance that this RemoteNotificationFilter would represent on the client side.
Parameters:
notifFilter - NotificationFilter instance
Method Detail

isNotificationEnabled

public boolean isNotificationEnabled(Notification notification)
                              throws java.rmi.RemoteException
Invoked before sending the specified notification to the remote listener.
Specified by:
isNotificationEnabled in interface RemoteNotificationFilter
Parameters:
notification - The notification to be sent remotely.
Returns:
True if the notification has to be sent to the listener, false otherwise.