|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObserverIntf is an interface that is implemented by Observer.
As such, ObserverIntf just declares the methods that can be called from the
Observer using RMI.
Observer| Method Summary | |
void |
addGame(java.lang.String name,
int limit,
int playerID)
See GamesObserver for an implementation of this method. |
void |
addPlayer(java.lang.String name,
int playerID)
See PlayersObserver for an implementation of this method. |
void |
exitGame()
See Observer for an implementation of this method. |
void |
placePlayerAction(Moves givenMove,
int action,
boolean exit)
See Observer for an implementation of this method. |
void |
placeResult(int winningSelection,
int currentPlayer,
boolean exit)
See Observer for an implementation of this method. |
void |
placeRobResult(int robbingPlayer,
boolean exit)
See Observer for an implementation of this method. |
void |
removeGame(int gameID)
See GamesObserver for an implementation of this method. |
void |
setGame(Game game)
See Observer for an implementation of this method. |
void |
updateWaiting(int gameID,
int waitingToJoin)
See GamesObserver for an implementation of this method. |
| Method Detail |
public void setGame(Game game)
throws java.rmi.RemoteException
Observer for an implementation of this method.Observer
public void placePlayerAction(Moves givenMove,
int action,
boolean exit)
throws java.rmi.RemoteException
Observer for an implementation of this method.Observer
public void placeResult(int winningSelection,
int currentPlayer,
boolean exit)
throws java.rmi.RemoteException
Observer for an implementation of this method.Observer
public void placeRobResult(int robbingPlayer,
boolean exit)
throws java.rmi.RemoteException
Observer for an implementation of this method.Observer
public void exitGame()
throws java.rmi.RemoteException
Observer for an implementation of this method.Observer
public void addPlayer(java.lang.String name,
int playerID)
throws java.rmi.RemoteException
PlayersObserver for an implementation of this method.PlayersObserver
public void addGame(java.lang.String name,
int limit,
int playerID)
throws java.rmi.RemoteException
GamesObserver for an implementation of this method.GamesObserver
public void updateWaiting(int gameID,
int waitingToJoin)
throws java.rmi.RemoteException
GamesObserver for an implementation of this method.GamesObserver
public void removeGame(int gameID)
throws java.rmi.RemoteException
GamesObserver for an implementation of this method.GamesObserver
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||