|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.kosi.model.FoyerAdapter
Adapter for the FoyerListener.
ChangeLog:
$Log: FoyerAdapter.java,v $ Revision 1.3 2001/07/04 12:34:30 uid30828 - Rubber score implemented - Inviting now working Revision 1.2 2001/06/14 14:41:01 jiriki Code maintanance (Updated docs, removed unused code, improved code style) Revision 1.1 2001/06/12 17:14:33 jiriki - Reimplemented DistributedList to make filters working - Made ServertestCase working.
Constructor Summary | |
FoyerAdapter()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FoyerAdapter()
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
- The table the user gets invited to.java.rmi.RemoteException
- If the RMI call of this method fails.public void invite(Tournament tournament) throws java.rmi.RemoteException
invite
in interface FoyerListener
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
notify
in interface FoyerListener
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
notify
in interface FoyerListener
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
notify
in interface FoyerListener
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 |