RiverRat - An MIT iCampus project | http://web.mit.edu/riverrat/ |
Static Public Member Functions | |
void | printAvailableServerTypes () |
Prints available server types. | |
void | printUsage () |
Prints help information for Server and exits. | |
void | main (String args[]) |
Test case. | |
Static Protected Attributes | |
int | port = 8080 |
Port to listen for connections on. | |
int | numthreads = 5 |
Number of threads to spawn. | |
Vector | threads |
Vector of worker threads. | |
ServerSocket | serverSocket |
Server Socket. |
Definition at line 11 of file Server.java.
|
Test case. Spawns a new Thread with a given type for each client socket that is opened. Definition at line 66 of file Server.java. References riverrat.Server.printUsage(), riverrat.BasicServer.setSocket(), and riverrat.Server.threads. |
|
Prints help information for Server and exits.
Definition at line 46 of file Server.java. References riverrat.Server.printAvailableServerTypes(). Referenced by riverrat.Server.main(). |