|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Connection | |
---|---|
ctf.evaluation.simulator | Simulator test code |
ctf.evaluation.simulator.play | Test code for the Play state |
ctf.evaluation.simulator.responses | Replies that the simulator may send us |
ctf.evaluation.simulator.setup | |
ctf.network | Network support |
ctf.network.tcp | TCP networking |
Uses of Connection in ctf.evaluation.simulator |
---|
Fields in ctf.evaluation.simulator declared as Connection | |
---|---|
(package private) Connection |
CLI.connection
Connection to the simulator |
Methods in ctf.evaluation.simulator that return Connection | |
---|---|
Connection |
ConnectionManager.blue()
Blue team |
Connection |
ConnectionManager.red()
Red team |
Methods in ctf.evaluation.simulator with parameters of type Connection | |
---|---|
protected void |
DualController.placeFlag(Connection connection,
Point flag)
|
protected void |
DualController.placeTree(Connection connection,
Point tree)
|
protected void |
DualController.sendCommand(Connection connection,
java.lang.String command)
|
Uses of Connection in ctf.evaluation.simulator.play |
---|
Fields in ctf.evaluation.simulator.play declared as Connection | |
---|---|
protected Connection |
PlayTestCase.blue
Controller connections |
protected Connection |
PlayerPositions.blue
Controller connections |
protected Connection |
PlayTestCase.red
Controller connections |
protected Connection |
PlayerPositions.red
Controller connections |
Methods in ctf.evaluation.simulator.play with parameters of type Connection | |
---|---|
protected void |
PlayTestCase.turnTo(Connection connection,
Side side,
int player,
double turnTo)
Turn a player to a heading |
Uses of Connection in ctf.evaluation.simulator.responses |
---|
Constructors in ctf.evaluation.simulator.responses with parameters of type Connection | |
---|---|
CommandResponse(Connection connection)
|
|
CTFResponse(Connection connection)
|
|
ErrorResponse(Connection connection)
Constructor. |
|
ErrorResponse(Connection connection,
boolean errorIfNotClosed)
Constructor. |
|
ErrorResponses(Connection offender,
Connection innocent)
Constructor. |
|
GameOverResponse(Connection connection,
GameOverResponse.Result expectedOutcome)
Constructor. |
|
PlacementResponse(Connection connection)
|
|
Response(Connection connection,
java.lang.String pattern)
Constructor (does not check the response against a regex pattern). |
|
Response(Connection connection,
java.lang.String pattern,
java.lang.String name)
Constructor. |
|
SideResponse(Connection connection)
|
|
StateResponse(Connection connection)
|
|
TreesResponse(Connection connection)
Public constructor |
|
VersionResponse(Connection connection)
Constructor. |
Uses of Connection in ctf.evaluation.simulator.setup |
---|
Methods in ctf.evaluation.simulator.setup with parameters of type Connection | |
---|---|
protected void |
PlaceFlag.place(Connection connection,
double x,
double y)
Place a flag at an (x,y) location |
protected void |
PlaceTrees.place(Connection connection,
double x,
double y)
Place a tree at a specific (x,y) location |
protected void |
PlaceFlag.place(Connection connection,
Point point)
Place a flag at a specific point |
protected void |
PlaceTrees.place(Connection connection,
Point point)
Place a tree at a specific point |
protected void |
PlaceTrees.placeNormal(Connection connection,
Side side)
Place one side's trees in the standard locations |
Uses of Connection in ctf.network |
---|
Fields in ctf.network declared as Connection | |
---|---|
(package private) Connection |
TCPTests.tmp
|
Methods in ctf.network with parameters of type Connection | |
---|---|
void |
TCPTests.ConnectionAcceptor.connectionAccepted(Connection client)
|
Uses of Connection in ctf.network.tcp |
---|
Subclasses of Connection in ctf.network.tcp | |
---|---|
class |
TestConnection
A connection that times out after 100 ms (the maximum allowable latency according to the CTF specification). |
Fields in ctf.network.tcp declared as Connection | |
---|---|
(package private) Connection |
CLI.connection
For talking to the server |
Methods in ctf.network.tcp that return Connection | |
---|---|
Connection |
Server.accept()
Accepts a connection from a client |
Methods in ctf.network.tcp with parameters of type Connection | |
---|---|
void |
ServerOwner.connectionAccepted(Connection client)
A connection from a client was accepted |
void |
ConnectionOwner.connectionClosed(Connection connection)
The connection was closed. |
void |
ConnectionOwner.lineReceived(java.lang.String line,
Connection from)
A '\n'-terminated line was received |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |