SFE.BOAL
Class Dave
java.lang.Object
SFE.BOAL.Dave
public class Dave
- extends java.lang.Object
This class implements Dave - intended for measuring LAN/WAN
communication speed versus Carol, where Dave is the server
who performs accept (like Bob), and Carol is the client
who connects to Dave (like Alice).
- Author:
- Dahlia Malkhi and Yaron Sella.
Constructor Summary |
Dave(java.lang.String[] args)
Dave Constructor |
Method Summary |
static void |
daveUsage()
|
static void |
main(java.lang.String[] args)
Main program for activating Dave |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dave
public Dave(java.lang.String[] args)
throws java.io.IOException
- Dave Constructor
- Parameters:
args
- - command line arguments.
args[0] - message length in bytes
args[1] - number of iterations to perform
- Throws:
java.io.IOException
daveUsage
public static void daveUsage()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Main program for activating Dave
- Parameters:
args
- - command line arguments.
args[0] - message length in bytes
args[1] - number of iterations to perform
- Throws:
java.lang.Exception