|
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()
Generates a random node record |
static void |
main(java.lang.String[] argz)
|
void |
test()
|
| Methods inherited from class rice.pastry.direct.BasicNetworkSimulator |
|---|
addSimulatorListener, deliverMessage, deliverMessage, deliverMessage, deliverMessageFixedRate, destroy, enqueueDelivery, getClosest, getEnvironment, getTestRecord, isAlive, networkDelay, notifySimulatorListeners, proximity, registerNode, removeNode, removeSimulatorListener, 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)
| Method Detail |
|---|
public NodeRecord generateNodeRecord()
NetworkSimulator
public void test()
public static void main(java.lang.String[] argz)
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||