be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIf
Class WIChangeTM

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIf.WIChangeTM

public class WIChangeTM
extends java.lang.Object

The class that allow sets the parameters of a "change traffic matrix" scenario

Author:
: Olivier Materne ( O.Materne@student.ulg.ac.be)

Constructor Summary
WIChangeTM()
           
 
Method Summary
static Scenario generateScenario()
          Generate the Scenario to be Executed
static javax.swing.JPanel getSelectionPanel()
          Dispaley a pannel to allow to choose the scenario parameters
static int getTrafficMatrix()
          return the new Traffic Matrix ID
static void reinitialize()
          When called, this method says : next time a "change matrix scenario" is called, begin by reinitializing the variables (Useful for the Composed Scenario, in this case, we do no want to reinitialize in order to keep the data in a coherent state)
static void selectAction()
          Select the action to be performed (which will be the new Matrix ?)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WIChangeTM

public WIChangeTM()
Method Detail

selectAction

public static void selectAction()
Select the action to be performed (which will be the new Matrix ?)


getTrafficMatrix

public static int getTrafficMatrix()
return the new Traffic Matrix ID

Returns:

reinitialize

public static void reinitialize()
When called, this method says : next time a "change matrix scenario" is called, begin by reinitializing the variables (Useful for the Composed Scenario, in this case, we do no want to reinitialize in order to keep the data in a coherent state)


getSelectionPanel

public static javax.swing.JPanel getSelectionPanel()
Dispaley a pannel to allow to choose the scenario parameters

Returns:

generateScenario

public static Scenario generateScenario()
Generate the Scenario to be Executed

Returns:
the scenario to be executed


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