|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.kosi.model.ProxyFoyerListener
This class implements a proxy for the FoyerListener. 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 FoyerListener.
ChangeLog:
$Log: ProxyFoyerListener.java,v $ Revision 1.2 2001/07/04 12:34:30 uid30828 - Rubber score implemented - Inviting now working Revision 1.1.1.1 2001/04/29 18:05:17 jiriki Imported sources from zola. Revision 1.4 2001/03/05 20:55:22 login - Game (und zugehoerige Klassen) soweit fertig - package de.kosi.model.tournament angelegt - Pair angelegt - Round angelegt - Movement-Interface angelegt - KosiMovement fertig!!! :-) - KosiMovementTest um das KosiMovement zu testen (kann mit KOSI/kosimovementtestaufgerufen werden) - Tournament und TournamentImpl in das package de.kosi.model.tournament verschoben - buildfile fuer die neuen klassen angepasst Revision 1.3 2001/02/11 18:18:39 login documenting, documenting, I can't think of anything else.....
Constructor Summary | |
ProxyFoyerListener(FoyerListener listener)
Creates a new ProxyFoyerListener which forwards all events to the given FoyerListener. |
Method Summary | |
void |
disconnect()
Forwards the call of the disconnect() method of the FoyerListener. |
void |
invite(Table table,
User byUser,
int direction)
Forwards the call of the invite(Table) method of the FoyerListener. |
void |
invite(Tournament tournament)
Forwards the call of the invite(Tournament) method of the FoyerListener. |
void |
notify(Game game)
Forwards the call of the notify(Game) method of the FoyerListener. |
void |
notify(Table table)
Forwards the call of the notify(Table) method of the FoyerListener. |
void |
notify(Tournament tournament)
Forwards the call of the notify(Tournament) method of the FoyerListener. |
void |
ping()
Forwards the call of the ping() method of FoyerListener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProxyFoyerListener(FoyerListener listener)
listener
- The FoyerListener that events are forwarded to.Method Detail |
public void ping() throws java.rmi.RemoteException
ping
in interface FoyerListener
java.rmi.RemoteException
- If the remote call of this method
fails.public void disconnect() throws java.rmi.RemoteException
disconnect
in interface FoyerListener
java.rmi.RemoteException
- If the remote call of this method
fails.public void invite(Table table, User byUser, int direction) throws java.rmi.RemoteException
invite
in interface FoyerListener
table
- This argument will be given to the listener that
events are forwarded to.java.rmi.RemoteException
- If the remote call of this method
fails.public void invite(Tournament tournament) throws java.rmi.RemoteException
invite
in interface FoyerListener
tournament
- This argument will be given to the listener
that all events are forwarded to.java.rmi.RemoteException
- If the remote call of this method
fails.public void notify(Game game) throws java.rmi.RemoteException
notify
in interface FoyerListener
game
- This argument will be given to the notify(Game)
method of the listener that all events are forwarded to.java.rmi.RemoteException
- If the remote call of this method
fails.public void notify(Table table) throws java.rmi.RemoteException
notify
in interface FoyerListener
table
- This argument will be given to the notify(table)
method of the listener that all events are forwarded to.java.rmi.RemoteException
- If the remote call of this method
fails.public void notify(Tournament tournament) throws java.rmi.RemoteException
notify
in interface FoyerListener
tournament
- This argument will be given to the
notify(Tournament) method of the listener that all events are
forwarded to.java.rmi.RemoteException
- If the remote call of this method
fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |