ePOST API

rice.pastry.testing
Class PingMessageNew

java.lang.Object
  extended by rice.pastry.messaging.Message
      extended by 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 2805 2005-11-17 16:22:24Z jeffh $
Author:
Rongmei Zhang
See Also:
Serialized Form

Field Summary
 
Fields inherited from class rice.pastry.messaging.Message
DEFAULT_PRIORITY_LEVEL
 
Constructor Summary
PingMessageNew(Address pingAddress, NodeHandle 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, getPriority, getSender, getSenderId, setPriority, setSender, 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,
                      NodeHandle src,
                      NodeId tgt)
Method Detail

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 NodeId getSource()

ePOST API

Copyright © 2001-2005 - Rice Pastry.