Class ProxyChatListener

All Implemented Interfaces:
ChatListener, java.util.EventListener, java.rmi.Remote

public class ProxyChatListener
extends java.lang.Object
implements ChatListener

This class implements a proxy for the ChatListener. Proxy classes are needed, because the server is not allowed to download code from the client. Therefore no arbitrary classes can be added as listeners. A proxy class does nothing, but forwards all calls to another ChatListener.

$Revision: $ ($Date: 2001/04/29 18:05:16 $) Log-Entries : $Log:,v $ Revision 2001/04/29 18:05:16 jiriki Imported sources from zola. Revision 1.3 2001/02/09 21:09:05 login - updated documentation !! Revision 1.2 2000/12/21 18:47:54 wombat - Dokumentiert - ThreadPool implementiert
Niklas, Timo, Ole

Constructor Summary
ProxyChatListener(ChatListener l)
          Creates a new ProxyChatListener.
Method Summary
 void handleEvent(ChatEvent event)
          This method handles ChatEvents.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ProxyChatListener(ChatListener l)
Creates a new ProxyChatListener.
l - the ChatListener, all events are forwarded to.
Method Detail


public void handleEvent(ChatEvent event)
                 throws java.rmi.RemoteException
This method handles ChatEvents. All Events are forwarded to another ChatListener.
Specified by:
handleEvent in interface ChatListener
event - the event to be handled.
java.rmi.RemoteException - If the listener, the calls are forwarded to, throws a RemoteException.