games.strategy.engine.framework.startup.mc
Interface IObserverWaitingToJoin

All Superinterfaces:
IRemote

public interface IObserverWaitingToJoin
extends IRemote

A callback remote. Allows the server to add the player as an observer when the game is in progress.

Author:
sgb

Method Summary
 void cannotJoinGame(java.lang.String reason)
          You could not join the game, usually this is due to an error.
 void joinGame(byte[] gameData, java.util.Map<java.lang.String,INode> players)
          This method should not return until the client is ready to start the game.
 

Method Detail

joinGame

void joinGame(byte[] gameData,
              java.util.Map<java.lang.String,INode> players)
This method should not return until the client is ready to start the game. This includes the display running, with all remote and channel listeners set up.


cannotJoinGame

void cannotJoinGame(java.lang.String reason)
You could not join the game, usually this is due to an error.