be.ac.ulg.montefiore.run.totem.topgen.traffic
Class TopgenScenarioFactory

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.topgen.traffic.TopgenScenarioFactory

public class TopgenScenarioFactory
extends java.lang.Object

This class is a scenario factory for Topgen.

Creation date: 2004

Author:
Jean Lepropre (lepropre@run.montefiore.ulg.ac.be)

Constructor Summary
TopgenScenarioFactory()
           
 
Method Summary
static Scenario makeSimpleScenario(TrafficGenerator trafficGenerator)
          Builds and returns a simple scenario.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopgenScenarioFactory

public TopgenScenarioFactory()
Method Detail

makeSimpleScenario

public static Scenario makeSimpleScenario(TrafficGenerator trafficGenerator)
                                   throws javax.xml.bind.JAXBException,
                                          java.lang.IllegalStateException,
                                          NodeNotFoundException
Builds and returns a simple scenario.

Parameters:
trafficGenerator - The traffic generator to be used.
Returns:
A Scenario XML file.
Throws:
java.lang.IllegalStateException - If generate() has not been called in trafficGenerator.
javax.xml.bind.JAXBException
NodeNotFoundException


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.