|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.kosi.chat.ProxyChatListener
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.
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)
l
- the ChatListener, all events are forwarded to.Method Detail |
public void handleEvent(ChatEvent event) throws java.rmi.RemoteException
handleEvent
in interface ChatListener
event
- the event to be handled.java.rmi.RemoteException
- If the listener, the calls are
forwarded to, throws a RemoteException.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |