|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.messaging.Message
rice.pastry.testing.PingMessageNew
public class PingMessageNew
PingMessageNew A performance test suite for pastry.
| Field Summary |
|---|
| Fields inherited from class rice.pastry.messaging.Message |
|---|
DEFAULT_PRIORITY_LEVEL |
| Fields inherited from interface rice.p2p.commonapi.Message |
|---|
HIGH_PRIORITY, LOW_PRIORITY, LOWEST_PRIORITY, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
| Constructor Summary | |
|---|---|
PingMessageNew(int pingAddress,
NodeHandle src,
Id tgt)
|
|
| Method Summary | |
|---|---|
double |
getDistance()
|
int |
getHops()
|
Id |
getSource()
|
void |
incrDistance(double dist)
|
void |
incrHops()
|
java.lang.String |
toString()
|
| Methods inherited from class rice.pastry.messaging.Message |
|---|
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 |
|---|
public PingMessageNew(int pingAddress,
NodeHandle src,
Id tgt)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic void incrHops()
public void incrDistance(double dist)
public int getHops()
public double getDistance()
public Id getSource()
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||