|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.messaging.Message rice.pastry.testing.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, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
Constructor Summary | |
PingMessageNew(int pingAddress,
NodeHandle src,
Id tgt)
Constructor for PingMessageNew. |
Method Summary | |
double |
getDistance()
Gets the Distance attribute of the PingMessageNew object |
int |
getHops()
Gets the Hops attribute of the PingMessageNew object |
Id |
getSource()
Gets the Source attribute of the PingMessageNew object |
void |
incrDistance(double dist)
DESCRIBE THE METHOD |
void |
incrHops()
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
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)
pingAddress
- DESCRIBE THE PARAMETERsrc
- DESCRIBE THE PARAMETERtgt
- DESCRIBE THE PARAMETERMethod Detail |
public int getHops()
public double getDistance()
public Id getSource()
public java.lang.String toString()
public void incrHops()
public void incrDistance(double dist)
dist
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |