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.
- Version:
- $Id: PingMessageNew.java,v 1.1 2002/03/31 03:26:08 ychu Exp $
- Author:
- Rongmei Zhang
- See Also:
- Serialized Form
Constructor Summary |
PingMessageNew(rice.pastry.messaging.Address pingAddress,
rice.pastry.NodeId src,
rice.pastry.NodeId tgt)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PingMessageNew
public PingMessageNew(rice.pastry.messaging.Address pingAddress,
rice.pastry.NodeId src,
rice.pastry.NodeId tgt)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
incrHops
public void incrHops()
incrDistance
public void incrDistance(double dist)
getHops
public int getHops()
getDistance
public double getDistance()
getSource
public rice.pastry.NodeId getSource()
Copyright © 2001 - Rice Pastry.