planet.test.simpledht
Class DHTPeerTest

java.lang.Object
  extended byplanet.generic.commonapi.GenericApp
      extended byplanet.test.simpledht.DHTPeerTest

public class DHTPeerTest
extends GenericApp

Makes a simple Hello World test.

Version:
1.0
Author:
Carles Pairot , Jordi Pujol

Constructor Summary
DHTPeerTest()
          Builds a network, following the values of the properties files.
 
Method Summary
static void main(java.lang.String[] args)
          Starts the test, building a network following the values of the properties files and send a simple Hello World message.
 void sendMessage()
          Send a Hello World message to the network, getting a radomly existing DHTApplication of the network.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHTPeerTest

public DHTPeerTest()
            throws InitializationException
Builds a network, following the values of the properties files.

Method Detail

sendMessage

public void sendMessage()
Send a Hello World message to the network, getting a radomly existing DHTApplication of the network.


main

public static void main(java.lang.String[] args)
Starts the test, building a network following the values of the properties files and send a simple Hello World message.

Parameters:
args - Nothing waiting.