rice.pastry.testing
Class PingMessageNew

java.lang.Object
  extended byrice.pastry.messaging.Message
      extended byrice.pastry.testing.PingMessageNew
All Implemented Interfaces:
java.io.Serializable

public class PingMessageNew
extends Message

PingMessageNew A performance test suite for pastry.

See Also:
Serialized Form

Constructor Summary
PingMessageNew(Address pingAddress, NodeId src, NodeId tgt)
           
 
Method Summary
 double getDistance()
           
 int getHops()
           
 NodeId getSource()
           
 void incrDistance(double dist)
           
 void incrHops()
           
 java.lang.String toString()
           
 
Methods inherited from class rice.pastry.messaging.Message
getCredentials, getDate, getDestination, getSenderId, getStream, hasPriority, setPriority, setSenderId, stamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PingMessageNew

public PingMessageNew(Address pingAddress,
                      NodeId src,
                      NodeId tgt)
Method Detail

toString

public java.lang.String toString()

incrHops

public void incrHops()

incrDistance

public void incrDistance(double dist)

getHops

public int getHops()

getDistance

public double getDistance()

getSource

public NodeId getSource()





Imprint-Dataprotection