viceroy
Class InitNetCreator

java.lang.Object
  |
  +--viceroy.InitNetCreator

public class InitNetCreator
extends java.lang.Object

Tests the Local viceroy peer

Since:
1.8
Author:
Anat Talmy
, Oren Dobzinski

Field Summary
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
private InitNetCreator()
           
 
Method Summary
static java.util.List createInitialNet(DummyCommunicationManager manager)
          Creates initial net Pay attention not to "leave" the entrance point
static java.util.List createInitialNet2(DummyCommunicationManager manager)
          Creates initial net 2 Pay attention not to "leave" the entrance point
static java.util.List createInitialNetPaper(DummyCommunicationManager manager)
          Creates initial net Paper Pay attention not to "leave" the entrance point
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Logger logger
Constructor Detail

InitNetCreator

private InitNetCreator()
Method Detail

createInitialNet

public static java.util.List createInitialNet(DummyCommunicationManager manager)
Creates initial net Pay attention not to "leave" the entrance point

Parameters:
manager - The manager
Returns:
A list of the peers of the net

createInitialNet2

public static java.util.List createInitialNet2(DummyCommunicationManager manager)
Creates initial net 2 Pay attention not to "leave" the entrance point

Parameters:
manager - The manager
Returns:
A list of the peers of the net

createInitialNetPaper

public static java.util.List createInitialNetPaper(DummyCommunicationManager manager)
Creates initial net Paper Pay attention not to "leave" the entrance point

Parameters:
manager - The manager
Returns:
A list of the peers of the net