Class SimpleP2PClient

java.lang.Object
  extended by SimpleP2PClient
All Implemented Interfaces:
SimpleP2PConst

public class SimpleP2PClient
extends java.lang.Object
implements SimpleP2PConst


Nested Class Summary
(package private)  class SimpleP2PClient.MessageSendEvent
           
(package private)  class SimpleP2PClient.MessageTimer
           
 
Field Summary
protected static java.lang.String HOSTNAME
           
protected static int NUM_MSGS
           
protected static double RATE
           
protected static StatsGatherer respStats
           
 
Fields inherited from interface SimpleP2PConst
MSG_SIZE, PORT
 
Constructor Summary
SimpleP2PClient()
           
 
Method Summary
 void doIt()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOSTNAME

protected static java.lang.String HOSTNAME

RATE

protected static double RATE

NUM_MSGS

protected static int NUM_MSGS

respStats

protected static StatsGatherer respStats
Constructor Detail

SimpleP2PClient

public SimpleP2PClient()
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

doIt

public void doIt()
          throws SinkClosedException,
                 java.io.IOException
Throws:
SinkClosedException
java.io.IOException

main

public static void main(java.lang.String[] args)