|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpeersim.transport.UniformRouterAssignment
public class UniformRouterAssignment
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 |
|---|
protocolRouterInfo protocol
that should be initialized.
| Constructor Detail |
|---|
public UniformRouterAssignment(java.lang.String prefix)
| Method Detail |
|---|
public boolean execute()
RouterInfo protocol layer by assigning
routers randomly.
The number of routers is defined by static singleton E2ENetwork.
execute in interface Control
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||