Rice Pastry API

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)
           
 
Method Summary
 double getDistance()
           
 int getHops()
           
 rice.pastry.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(rice.pastry.messaging.Address pingAddress,
                      rice.pastry.NodeId src,
                      rice.pastry.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 rice.pastry.NodeId getSource()

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection