games.strategy.engine.lobby.server
Class LobbyGameController
java.lang.Object
games.strategy.engine.lobby.server.LobbyGameController
- All Implemented Interfaces:
- ILobbyGameController, IRemote
public class LobbyGameController
- extends java.lang.Object
- implements ILobbyGameController
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LobbyGameController
public LobbyGameController(ILobbyGameBroadcaster broadcaster,
IMessenger messenger)
postGame
public void postGame(GUID gameID,
GameDescription description)
- Specified by:
postGame in interface ILobbyGameController
updateGame
public void updateGame(GUID gameID,
GameDescription description)
- Specified by:
updateGame in interface ILobbyGameController
listGames
public java.util.Map<GUID,GameDescription> listGames()
- Specified by:
listGames in interface ILobbyGameController
register
public void register(IRemoteMessenger remote)
testGame
public java.lang.String testGame(GUID gameID)
- Description copied from interface:
ILobbyGameController
- 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.
- Specified by:
testGame in interface ILobbyGameController