|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Remote server that references the different RemoteSetGame
available.
Method Summary | |
int |
createGame(java.lang.String name,
int nbPlayers)
Create a game with the specified number of players. |
RemoteSetGame |
getGame(int id)
Returns the game identified by the specified id. |
RemoteSetGame[] |
getGames()
|
Method Detail |
public RemoteSetGame[] getGames() throws java.rmi.RemoteException
java.rmi.RemoteException
- upon communication related exception on this remote callpublic RemoteSetGame getGame(int id) throws java.rmi.RemoteException
id
- the id of the game to return
null
if none found.
java.rmi.RemoteException
- upon communication related exception on this remote callpublic int createGame(java.lang.String name, int nbPlayers) throws java.rmi.RemoteException
name
- the name of the game.nbPlayers
- the number of players.
java.rmi.RemoteException
- upon communication related exception on this remote call
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |