LectureGame.Test.network_stresstest
Class StressTester

java.lang.Object
  extended by LectureGame.Test.network_stresstest.StressTester

public class StressTester
extends java.lang.Object

Created by IntelliJ IDEA. User: olekrst Date: 04.apr.2007 Time: 10:38:22 This is the main class of the stresstester. It creates playerAgents and connects them to the server.


Field Summary
private static java.util.ArrayList<playerAgent> agents
           
private  int NUMBER_OF_AGENTS
           
 
Constructor Summary
StressTester()
          Creates the stresstester object as well as the agents needed
 
Method Summary
static void main(java.lang.String[] args)
          Main method containing the main loop.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agents

private static java.util.ArrayList<playerAgent> agents

NUMBER_OF_AGENTS

private final int NUMBER_OF_AGENTS
See Also:
Constant Field Values
Constructor Detail

StressTester

public StressTester()
Creates the stresstester object as well as the agents needed

Method Detail

main

public static void main(java.lang.String[] args)
Main method containing the main loop. Iterates over the connected clients and calls doWork on them

Parameters:
args -
See Also:
playerAgent