gov.nist.antd.merlin.generator.event
Class RandomEventGenerator

java.lang.Object
  |
  +--gov.nist.antd.merlin.generator.event.RandomEventGenerator
All Implemented Interfaces:
EventGenerator

public class RandomEventGenerator
extends java.lang.Object
implements EventGenerator

This class tests the EventParameter and TopologyManipulator. It only creates Node failure.

 This class was developed at the National Institute of Standards and
 Technology by employees of the Federal Government in the course of
 their official duties. Pursuant to title 17 Section 105 of the United
 States Code this software is not subject to copyright protection and
 is in the public domain.
 NIST assumes no responsibility whatsoever for its use by other parties,
 and makes no guarantees, expressed or implied, about its quality,
 reliability, or any other characteristic.
 
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.

Author:
borchert
, rouil

Constructor Summary
RandomEventGenerator()
          Default constructor
 
Method Summary
 void config(com.renesys.raceway.DML.Configuration cfg)
          Configure the EventGenerator out of the DML.
 void init(TopologyManipulator owner)
          Initialise the EventGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomEventGenerator

public RandomEventGenerator()
Default constructor

Method Detail

init

public void init(TopologyManipulator owner)
Initialise the EventGenerator

Specified by:
init in interface EventGenerator
Parameters:
owner - The TopologyManipulator that handle the events.

config

public void config(com.renesys.raceway.DML.Configuration cfg)
            throws com.renesys.raceway.DML.configException
Configure the EventGenerator out of the DML.

Specified by:
config in interface EventGenerator
Parameters:
cfg - The DML configuration.
Throws:
cfg - when a configuration error occurs.
com.renesys.raceway.DML.configException