RiverRat - An MIT iCampus project | http://web.mit.edu/riverrat/ |
Inheritance diagram for riverrat.testing.XMLFakeServer:
Public Member Functions | |
XMLFakeServer () | |
Default constructor. | |
XMLFakeServer (int newport) | |
Constructor. | |
void | mainServer () |
Main operation function. | |
Static Public Member Functions | |
void | main (String args[]) |
Test method. | |
Protected Attributes | |
boolean | DELAY_INPUT = true |
Determines whether or not to delay input, for testing. | |
Static Protected Attributes | |
String | file = "race.xml" |
File to read data from, overrides superclass. |
Definition at line 10 of file XMLFakeServer.java.
|
Default constructor. Calls super(). Definition at line 18 of file XMLFakeServer.java. Referenced by riverrat.testing.XMLFakeServer.main(). |
|
Constructor. Calls super(newport). Definition at line 23 of file XMLFakeServer.java. |
|
Test method. Starts a new XMLFakeServer, spawns a Thread with it, then just loops. Argument specifies (optional) filename.
Reimplemented from riverrat.testing.FakeServer. Definition at line 79 of file XMLFakeServer.java. References riverrat.testing.XMLFakeServer.XMLFakeServer(). |
|
Main operation function. Overrides super.mainServer() Reimplemented from riverrat.testing.FakeServer. Definition at line 30 of file XMLFakeServer.java. References riverrat.testing.FakeServer.openFile(). |