ctf.evaluation.simulator.responses
Class GameOverResponse

java.lang.Object
  extended by ctf.evaluation.simulator.responses.Response
      extended by ctf.evaluation.simulator.responses.GameOverResponse

public class GameOverResponse
extends Response

A GameOver response


Nested Class Summary
static class GameOverResponse.Result
          How a game can end
 
Constructor Summary
GameOverResponse(Connection connection, GameOverResponse.Result expectedOutcome)
          Constructor.
 
Method Summary
 
Methods inherited from class ctf.evaluation.simulator.responses.Response
response, tokens
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameOverResponse

public GameOverResponse(Connection connection,
                        GameOverResponse.Result expectedOutcome)
                 throws java.io.IOException,
                        NetworkException,
                        ProtocolError
Constructor.

Parameters:
connection - the connection to get the EndMsg from
expectedOutcome - how we expected the game to end
Throws:
java.io.IOException
NetworkException
ProtocolError