peersim.transport
Class KingParser

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

public class KingParser
extends java.lang.Object
implements Control

Initializes static singleton E2ENetwork by reading a king data set.


Parameter Summary
file
          The file containing the King measurements.
ratio
          The ratio between the time units used in the configuration file and the time units used in the Peersim simulator.
 
Constructor Summary
KingParser(java.lang.String prefix)
          Read the configuration parameters.
 
Method Summary
 boolean execute()
          Initializes static singleton E2ENetwork by reading a king data set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Parameter Detail

file

The file containing the King measurements.


ratio

The ratio between the time units used in the configuration file and the time units used in the Peersim simulator.

Constructor Detail

KingParser

public KingParser(java.lang.String prefix)
Read the configuration parameters.

Method Detail

execute

public boolean execute()
Initializes static singleton E2ENetwork by reading a king data set.

Specified by:
execute in interface Control
Returns:
always false