de.kosi.util
Class ProxyDistributedListListener
java.lang.Object
|
+--de.kosi.util.ProxyDistributedListListener
- All Implemented Interfaces:
- DistributedListListener, java.util.EventListener, java.rmi.Remote
- public class ProxyDistributedListListener
- extends java.lang.Object
- implements DistributedListListener
This class implements a proxy for a DistributedListListener. Proxy classes
are needed because the server may not download code from the client.
Therefor no
arbitrary listeners can be registered with the server.
ChangeLog:
$Log: ProxyDistributedListListener.java,v $
Revision 1.3 2001/05/22 20:24:40 jiriki
Made source more conformant to Coding Conventions.
Revision 1.2 2001/05/22 10:16:03 jiriki
- Removed old unused Client class
- Removed unused import statements.
Revision 1.1.1.1 2001/04/29 18:05:19 jiriki
Imported sources from zola.
Revision 1.2 2001/01/31 15:08:19 wombat
Updated documentation
- Version:
- $Revision: 1.3 $ ($Date: 2001/05/22 20:24:40 $)
- Author:
- Jan-Ole Janssen, Timo Sticher, Niklas Mehner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyDistributedListListener
public ProxyDistributedListListener(DistributedListListener listener)
- Creates a new proxy listener.
- Parameters:
listener - listener all calls are relayed to.
handleEvent
public void handleEvent(DistributedListEvent event)
throws java.rmi.RemoteException
- Handles a DistributedEvent. The proxy implementation only
sends the event to the listener, the proxy was created for.
- Specified by:
handleEvent in interface DistributedListListener
- Parameters:
event - the event to dispatch.- Throws:
java.rmi.RemoteException - when the remote call fails.