ABLE 2.0.0 07/02/2003 10:25:01

com.ibm.able
Interface AbleEventListenerRemoteManager

All Superinterfaces:
java.rmi.Remote
All Known Subinterfaces:
AblePlatformAgent, AbleRemoteAgent, AbleRemoteBean, AbleRemoteDataSink, AbleRemoteDataSource, AutotuneAgentIf, JasKnnDistributedAgentIF, JasNaiveBayesDistributedAgentIF

public interface AbleEventListenerRemoteManager
extends java.rmi.Remote

The AbleEventListenerRemoteManager interface provides the methods needed by an AbleRemoteBean to add and remove AbleEventListener objects and to notify those listeners of an AbleEvent.


Method Summary
 void addAbleEventListener(AbleEventListener theListener)
          Adds an event listener to this bean.
 void notifyAbleEventListeners(AbleEvent theEvent)
          Notify all registered listeners by sending the specified event.
 void removeAbleEventListener(AbleEventListener theListener)
          Remove an event listener from this bean.
 

Method Detail

addAbleEventListener

public void addAbleEventListener(AbleEventListener theListener)
                          throws java.rmi.RemoteException
Adds an event listener to this bean.
Parameters:
theListener - An object interested in this bean.
Throws:
java.rmi.RemoteException - If an error occurs.

removeAbleEventListener

public void removeAbleEventListener(AbleEventListener theListener)
                             throws java.rmi.RemoteException
Remove an event listener from this bean.
Parameters:
theListener - The object no longer interested in this bean.
Throws:
java.rmi.RemoteException - If an error occurs.

notifyAbleEventListeners

public void notifyAbleEventListeners(AbleEvent theEvent)
                              throws java.rmi.RemoteException
Notify all registered listeners by sending the specified event.
Parameters:
theEvent - The AbleEvent to be broadcast to all listeners.
Throws:
java.rmi.RemoteException - If an error occurs.

ABLE 2.0.0 07/02/2003 10:25:01

(C) Copyright IBM Corporation 1999, 2003