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

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

public class TopgenTrafficMatrixFactory
extends java.lang.Object

This class implements a traffic matrix factory for Topgen.

Creation date: 15-d�c.-2004

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

Constructor Summary
TopgenTrafficMatrixFactory()
           
 
Method Summary
static void makeSimpleTrafficMatrix(TrafficGenerator trafficGenerator)
          Sets the default traffic matrix with the information contained in trafficGenerator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopgenTrafficMatrixFactory

public TopgenTrafficMatrixFactory()
Method Detail

makeSimpleTrafficMatrix

public static void makeSimpleTrafficMatrix(TrafficGenerator trafficGenerator)
                                    throws java.lang.IllegalStateException
Sets the default traffic matrix with the information contained in trafficGenerator.

Parameters:
trafficGenerator - The traffic generator to use.
Throws:
java.lang.IllegalStateException - If generate() has not been called in trafficGenerator.


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