org.starhope.vergil.test
Class LoadClient

java.lang.Object
  extended by java.util.TimerTask
      extended by org.starhope.vergil.test.LoadClient
All Implemented Interfaces:
Runnable, SmartFauxEventListener

public class LoadClient
extends TimerTask
implements SmartFauxEventListener

Load-testing client

Author:
brpocock@star-hope.org

Field Summary
(package private)  Random random
          WRITEME
(package private)  SmartFauxClient sfs
          WRITEME
(package private)  boolean talk
          WRITEME
(package private)  String userName
          WRITEME
private  int userNumber
          WRITEME
 
Constructor Summary
LoadClient(int num)
           
 
Method Summary
 void handleEvent(SmartFauxEvent event)
          WRITEME: Document this method brpocock@star-hope.org
static void main(String[] args)
          WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009)
 void run()
          This is an overriding method.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

random

Random random
WRITEME


sfs

SmartFauxClient sfs
WRITEME


talk

boolean talk
WRITEME


userName

String userName
WRITEME


userNumber

private final int userNumber
WRITEME

Constructor Detail

LoadClient

public LoadClient(int num)
           throws UnknownHostException
Parameters:
num - WRITEME
Throws:
UnknownHostException - if we can't reach Whitney-Dev
Method Detail

main

public static void main(String[] args)
WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009)

Parameters:
args - WRITEME

handleEvent

public void handleEvent(SmartFauxEvent event)
Description copied from interface: SmartFauxEventListener
WRITEME: Document this method brpocock@star-hope.org

Specified by:
handleEvent in interface SmartFauxEventListener
Parameters:
event - WRITEME

run

public void run()
This is an overriding method.

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask
See Also:
Runnable.run()