SFE.BOAL
Class Carol

java.lang.Object
  extended by SFE.BOAL.Carol

public class Carol
extends java.lang.Object

This class implements Carol - intended for measuring WAN communication speed versus Dave, where Carol is the client who connects to Dave (like Alice), and Dave is the server who performs accept (like Bob).

Author:
Dahlia Malkhi and Yaron Sella.

Constructor Summary
Carol(java.lang.String[] args)
          Carol Constructor
 
Method Summary
static void carolUsage()
           
static void main(java.lang.String[] args)
          Main program for activating Carol
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Carol

public Carol(java.lang.String[] args)
      throws java.lang.Exception
Carol Constructor

Parameters:
args - - command line arguments. args[0] - message length in bytes args[1] - number of iterations to perform args[2] - host name where Dave is
Throws:
java.lang.Exception
Method Detail

carolUsage

public static void carolUsage()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Main program for activating Carol

Parameters:
args - - command line arguments. args[0] - message length in bytes args[1] - number of iterations to perform args[2] - host name where Dave is
Throws:
java.lang.Exception