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.
It implements java.rmi.Remote as a tagging interface, to avoid dependencies of the specification 1.0
implementation from mx4j classes
- Version:
- $Revision: 1.3 $
- 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)
- Specified by:
handleNotification
in interface NotificationListener
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