XMOJO 5 API Docs

com.adventnet.adaptors.rmi
Class RemoteNotificationFilterImpl

java.lang.Object
  |
  +--com.adventnet.adaptors.rmi.RemoteNotificationFilterImpl
All Implemented Interfaces:
java.rmi.Remote, RemoteNotificationFilter

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.


Constructor Summary
RemoteNotificationFilterImpl()
          Default Constructor
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
 

Constructor Detail

RemoteNotificationFilterImpl

public RemoteNotificationFilterImpl()
Default Constructor

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.

XMOJO 5 API Docs

Copyright ©2003 XMOJO.org. All Rights Reserved.