planet.test.helloworld
Class DHTPeerTestMessage

java.lang.Object
  extended byplanet.test.helloworld.DHTPeerTestMessage
All Implemented Interfaces:
Message, java.io.Serializable

public class DHTPeerTestMessage
extends java.lang.Object
implements Message

Simple Message to contain a String to deliver a remote application.

Version:
1.0
Author:
Carles Pairot , Jordi Pujol
See Also:
Serialized Form

Constructor Summary
DHTPeerTestMessage(java.lang.String data)
          Builds a new message with the specified data
 
Method Summary
 java.lang.String getData()
          Gets the content of the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHTPeerTestMessage

public DHTPeerTestMessage(java.lang.String data)
Builds a new message with the specified data

Parameters:
data - Data to be set to new message.
Method Detail

getData

public java.lang.String getData()
Gets the content of the message.

Returns:
A String containing all information of this message.


======== END OF BOTTOM NAVBAR ======= -->