rice.pastry.testing
Class PingMessageNew
java.lang.Object
rice.pastry.messaging.Message
rice.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PingMessageNew
public PingMessageNew(Address pingAddress,
NodeId src,
NodeId tgt)
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()