mx4j.connector.rmi
Class RemoteNotificationListenerSupport
java.lang.Object
|
+--mx4j.connector.rmi.RemoteNotificationListenerSupport
- All Implemented Interfaces:
- java.util.EventListener, NotificationListener, java.io.Serializable
- Direct Known Subclasses:
- IIOPRemoteNotificationListenerSupport, JRMPRemoteNotificationListenerSupport
- public abstract class RemoteNotificationListenerSupport
- extends java.lang.Object
- implements NotificationListener, java.io.Serializable
This class is serialized from client to the server, and forwards calls to remote listener.
It shadows the fact that the listener is an RMI remote object.
- Version:
- $Revision: 1.4 $
- Author:
- Simone Bordet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RemoteNotificationListenerSupport
public RemoteNotificationListenerSupport(NotificationListener clientListener)
export
protected abstract void export()
throws java.rmi.RemoteException
unexport
protected abstract void unexport()
throws java.rmi.NoSuchObjectException
getRemoteNotificationListener
protected mx4j.connector.rmi.RemoteNotificationListener getRemoteNotificationListener()
handleNotification
public final void handleNotification(Notification notification,
java.lang.Object handback)
- Description copied from interface:
NotificationListener
- Called when a notification occurs.
- Specified by:
handleNotification
in interface NotificationListener
- Following copied from interface:
javax.management.NotificationListener
- Parameters:
notification
- The notification objecthandback
- Helps in associating information regarding the listener.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2001-2002 MX4J Team. All Rights Reserved.