ctf.evaluation.simulator.responses
Class StateResponse

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

public class StateResponse
extends Response

A response to the 'getState' query


Constructor Summary
StateResponse(Connection connection)
           
 
Method Summary
 State state()
          The state of the game
 
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

StateResponse

public StateResponse(Connection connection)
              throws java.io.IOException,
                     NetworkException,
                     ProtocolError,
                     RoundOverException,
                     GameOverException
Throws:
java.io.IOException
NetworkException
ProtocolError
RoundOverException
GameOverException
Method Detail

state

public State state()
The state of the game