|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.direct.BasicNetworkSimulator
rice.pastry.direct.SphereNetwork
public class SphereNetwork
Sphere network topology and idealized node life. Emulates a network of nodes that are randomly placed on a sphere. Proximity is based on euclidean distance on the sphere.
| Field Summary |
|---|
| Fields inherited from class rice.pastry.direct.BasicNetworkSimulator |
|---|
logger, manager, maxDiameter, MIN_DELAY, minDelay, random |
| Constructor Summary | |
|---|---|
SphereNetwork(Environment env)
Constructor. |
|
| Method Summary | |
|---|---|
NodeRecord |
generateNodeRecord()
DESCRIBE THE METHOD |
static void |
main(java.lang.String[] argz)
The main program for the SphereNetwork class |
void |
test()
A unit test for JUnit |
| Methods inherited from class rice.pastry.direct.BasicNetworkSimulator |
|---|
deliverMessage, deliverMessage, deliverMessage, deliverMessageFixedRate, destroy, enqueueDelivery, getClosest, getEnvironment, getTestRecord, isAlive, networkDelay, proximity, registerNode, removeNode, setFullSpeed, setMaxSpeed, setTestRecord, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SphereNetwork(Environment env)
env - DESCRIBE THE PARAMETER| Method Detail |
|---|
public NodeRecord generateNodeRecord()
public void test()
public static void main(java.lang.String[] argz)
argz - The command line arguments
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||