ctf.evaluation.simulator.responses
Class TreesResponse

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

public class TreesResponse
extends Response

A response to the 'getState' query


Constructor Summary
TreesResponse(Connection connection)
          Public constructor
 
Method Summary
(package private) static Point[] parse(java.lang.String[] tokens)
          Parse a Trees response (package-visible for testing purposes)
 Point[] trees()
          Where are the trees?
 
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

TreesResponse

public TreesResponse(Connection connection)
              throws java.io.IOException,
                     NetworkException,
                     ProtocolError
Public constructor

Throws:
java.io.IOException
NetworkException
ProtocolError
Method Detail

parse

static Point[] parse(java.lang.String[] tokens)
              throws ProtocolError
Parse a Trees response (package-visible for testing purposes)

Throws:
ProtocolError

trees

public Point[] trees()
Where are the trees?