|
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.GenericNetwork
public class GenericNetwork
DESCRIBE THE CLASS
Field Summary | |
---|---|
java.util.HashMap<java.lang.Integer,java.lang.Integer> |
assignedIndices
DESCRIBE THE FIELD |
java.io.File |
inFile_Matrix
DESCRIBE THE FIELD |
static int |
MAXOVERLAYSIZE
The number of stubs. |
java.util.Hashtable |
nodePos
DESCRIBE THE FIELD |
Fields inherited from class rice.pastry.direct.BasicNetworkSimulator |
---|
logger, manager, maxDiameter, MIN_DELAY, minDelay, random |
Constructor Summary | |
---|---|
GenericNetwork(Environment env)
Constructor for GenericNetwork. |
|
GenericNetwork(Environment env,
java.io.File inFile)
Constructor for GenericNetwork. |
|
GenericNetwork(Environment env,
java.lang.String inFile)
Constructor for GenericNetwork. |
Method Summary | |
---|---|
NodeRecord |
generateNodeRecord()
DESCRIBE THE METHOD |
void |
readOverlayMatrix(float delayFactor)
DESCRIBE THE METHOD |
void |
setNodesPerStub(int numPerStub)
Sets the NodesPerStub attribute of the GenericNetwork object |
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 |
Field Detail |
---|
public java.util.Hashtable nodePos
public java.util.HashMap<java.lang.Integer,java.lang.Integer> assignedIndices
public java.io.File inFile_Matrix
public static int MAXOVERLAYSIZE
Constructor Detail |
---|
public GenericNetwork(Environment env, java.lang.String inFile)
env
- DESCRIBE THE PARAMETERinFile
- DESCRIBE THE PARAMETERpublic GenericNetwork(Environment env)
env
- DESCRIBE THE PARAMETERpublic GenericNetwork(Environment env, java.io.File inFile)
env
- DESCRIBE THE PARAMETERinFile
- DESCRIBE THE PARAMETERMethod Detail |
---|
public void setNodesPerStub(int numPerStub)
numPerStub
- The new NodesPerStub valuepublic NodeRecord generateNodeRecord()
public void readOverlayMatrix(float delayFactor)
delayFactor
- DESCRIBE THE PARAMETER
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |