|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This listener will be registered at the Foyer which is the first class that a user gets when he connects to the KoSI-System. All KoSI-Clients must at least implement this listener to work reasonable.
ChangeLog:
$Log: FoyerListener.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:21 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/09 21:41:13 login wrote docs for the FoyerListener
Method Summary | |
void |
disconnect()
This method will be called if a user gets disconnected from the KoSI-System. |
void |
invite(Table table,
User byUser,
int direction)
This method will be called if another user invites the user who registered this listener to take a seat at a specific table. |
void |
invite(Tournament tournament)
This method will be called if another user invites the user who registered this listener to take part in a specific tournament. |
void |
notify(Game game)
A call of this method notifies the user who registered this listener that he is currently playing the given game. |
void |
notify(Table table)
A call of this method notifies the user who registered this listener that he is currently sitting at the given table. |
void |
notify(Tournament tournament)
A call of this method notifies the user who registered this listener that he is currently taking part in the given tournament. |
void |
ping()
This method is used for ping signals. |
Method Detail |
public void ping() throws java.rmi.RemoteException
java.rmi.RemoteException
- If the remote call of this method fails.public void disconnect() throws java.rmi.RemoteException
java.rmi.RemoteException
- If the remote call of this method
fails.public void invite(Table table, User byUser, int direction) throws java.rmi.RemoteException
table
- The table the user gets invited to.byUser
- User that invited us.direction
- Direction we should join the table in.java.rmi.RemoteException
- If the RMI call of this method fails.public void invite(Tournament tournament) throws java.rmi.RemoteException
tournament
- The tournament the user gets invited to.java.rmi.RemoteException
- If the RMI call of this method fails.public void notify(Game game) throws java.rmi.RemoteException
game
- The game the user is currently playing.java.rmi.RemoteException
- If the remote call fails.public void notify(Table table) throws java.rmi.RemoteException
table
- The table the user is currently sitting at.java.rmi.RemoteException
- If the remote call fails.public void notify(Tournament tournament) throws java.rmi.RemoteException
tournament
- The tournament the user is currently taking
part in.java.rmi.RemoteException
- If the remote call fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |