games.strategy.engine.lobby.server
Interface ILobbyGameController

All Superinterfaces:
IRemote
All Known Implementing Classes:
LobbyGameController

public interface ILobbyGameController
extends IRemote


Field Summary
static RemoteName GAME_CONTROLLER_REMOTE
           
 
Method Summary
 java.util.Map<GUID,GameDescription> listGames()
           
 void postGame(GUID gameID, GameDescription description)
           
 java.lang.String testGame(GUID gameID)
          Test if the server can connect to the game at this address.
 void updateGame(GUID gameID, GameDescription description)
           
 

Field Detail

GAME_CONTROLLER_REMOTE

static final RemoteName GAME_CONTROLLER_REMOTE
Method Detail

postGame

void postGame(GUID gameID,
              GameDescription description)

updateGame

void updateGame(GUID gameID,
                GameDescription description)

listGames

java.util.Map<GUID,GameDescription> listGames()

testGame

java.lang.String testGame(GUID gameID)
Test if the server can connect to the game at this address. This is used to see if the client address is network accessible (this will not be true if the client is behind a nat or firewall that is not properly configured)

This method may only be called by the node that is hosting this game.