xsul.den
Class HttpClientAttacker
java.lang.Object
xsul.den.HttpClientAttacker
- All Implemented Interfaces:
- java.lang.Runnable
- public class HttpClientAttacker
- extends java.lang.Object
- implements java.lang.Runnable
HttpClientAttacker as a client does not do any processing work. All it does
is to send the content of a given file to a designated service in both
sequential and concurrent (by thread) fashions with the numbers specified at
the command line.
- Author:
- Liang Fang (lifang@cs.indiana.edu)
|
Constructor Summary |
HttpClientAttacker(java.lang.String host,
int port,
java.lang.String svcname,
java.lang.String file,
int num)
|
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
run()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientAttacker
public HttpClientAttacker(java.lang.String host,
int port,
java.lang.String svcname,
java.lang.String file,
int num)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
main
public static void main(java.lang.String[] args)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
IU Extreme! Lab (http://www.extreme.indiana.edu)