cgl.narada.node
Class MultipleServerNodes
java.lang.Object
cgl.narada.node.MultipleServerNodes
public class MultipleServerNodes
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultipleServerNodes
public MultipleServerNodes(int numOfSSC,
int numOfSC,
int numOfC,
int numOfB)
issueRequestTo
public void issueRequestTo(ServerNode serverNode,
int port,
int level)
createNetwork
public void createNetwork()
printNodesInfo
public void printNodesInfo()
printConnectionsInfo
public void printConnectionsInfo()
populateLevelsInfo
public void populateLevelsInfo()
createConnections
public void createConnections(int numOfConnections)
determineLevelOfConnection
public int determineLevelOfConnection(int posA,
int posB)
determineIfAlreadyConnected
public boolean determineIfAlreadyConnected(int posA,
int posB)
- This method returns true only if both the nodes have valid assigned
addresses and the connection had not been previously established
main
public static void main(String[] args)
For comments and suggestions please send
e-mail to
The NaradaBrokering Project