|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeersim.pastry.CustomDistribution
public class CustomDistribution
This control initializes the whole network (that was already created by peersim) by assigning a unique NodeId randomly generated, to every node (it does nothing else).
Title: MSPASTRY
Description: MsPastry implementation for PeerSim
Copyright: Copyright (c) 2007
Company: The Pastry Group
Constructor Summary | |
---|---|
CustomDistribution(java.lang.String prefix)
|
Method Summary | |
---|---|
boolean |
execute()
Scan over the nodes in the network and assign a randomly generated NodeId in the space 0..2^BITS, where BITS is a parameter from the pastry protocol (usually 128) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomDistribution(java.lang.String prefix)
Method Detail |
---|
public boolean execute()
execute
in interface peersim.core.Control
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |