com.ibm.able
Interface AbleRemoteEventListenerRemoteManager
- All Superinterfaces:
- java.rmi.Remote
- public interface AbleRemoteEventListenerRemoteManager
- extends java.rmi.Remote
The AbleRemoteEventListenerRemoteManager interface provides the methods
needed to remotely add and remove AbleRemoteEventListener objects and to notify those
listeners of an AbleEvent.
addAbleRemoteEventListener
public void addAbleRemoteEventListener(AbleRemoteEventListener 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.
removeAbleRemoteEventListener
public void removeAbleRemoteEventListener(AbleRemoteEventListener 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.
notifyAbleRemoteEventListeners
public void notifyAbleRemoteEventListeners(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.
(C) Copyright IBM Corporation 1999, 2003