peersim.transport
Class UniformRouterAssignment

java.lang.Object
  extended by peersim.transport.UniformRouterAssignment
All Implemented Interfaces:
Control

public class UniformRouterAssignment
extends java.lang.Object
implements Control

Initializes RouterInfo protocols by assigning routers to them. The number of routers is defined by static singleton E2ENetwork.


Parameter Summary
protocol
          Parameter name used to configure the RouterInfo protocol that should be initialized.
 
Constructor Summary
UniformRouterAssignment(java.lang.String prefix)
          Reads configuration parameters.
 
Method Summary
 boolean execute()
          Initializes given RouterInfo protocol layer by assigning routers randomly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Parameter Detail

protocol

Parameter name used to configure the RouterInfo protocol that should be initialized.

Constructor Detail

UniformRouterAssignment

public UniformRouterAssignment(java.lang.String prefix)
Reads configuration parameters.

Method Detail

execute

public boolean execute()
Initializes given RouterInfo protocol layer by assigning routers randomly. The number of routers is defined by static singleton E2ENetwork.

Specified by:
execute in interface Control
Returns:
always false