public InviteMsgTimer() {
   try {
     dist = Distribution.getDistributionFromConfigFile("Antenna/InviteIntervall");
     refreshRate = Configuration.getIntegerParameter("Antenna/refreshRate");
   } catch (CorruptConfigurationEntryException e) {
     Tools.fatalError(e.getMessage());
   }
 }
Beispiel #2
0
 /** Creates a new Drop Rate Reliability Model instance. */
 public LossyDelivery() {
   try {
     dropRate = Configuration.getDoubleParameter("LossyDelivery/dropRate");
   } catch (CorruptConfigurationEntryException e) {
     Main.fatalError(
         "Missing configuration entry for the Message Transmission Model:\n" + e.getMessage());
   }
 }