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

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

public class WILinkFailure
extends java.lang.Object

Allow creation of UP/DOWN link event in the what-if scenario system

Creation date: 21-Mar-2005

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

Constructor Summary
WILinkFailure()
           
 
Method Summary
static Scenario generateScenario()
          Generate the scenario to be executed
static java.lang.String getLink()
          return the last link on which an event occured
static javax.swing.JPanel getSelectionPanel()
          Return a panel to select the parameters of the scenario
static boolean isDownLink()
           
static void reinitialize()
          Reinitialize the variables on the next time a WILinkFailure is called
static void selectAction()
          Select the action to be performed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WILinkFailure

public WILinkFailure()
Method Detail

selectAction

public static void selectAction()
Select the action to be performed


getSelectionPanel

public static javax.swing.JPanel getSelectionPanel()
Return a panel to select the parameters of the scenario

Returns:
a panel to select the parameters of the scenario

reinitialize

public static void reinitialize()
Reinitialize the variables on the next time a WILinkFailure is called


getLink

public static java.lang.String getLink()
return the last link on which an event occured

Returns:

isDownLink

public static boolean isDownLink()
Returns:
true if the last event was a link failure; else false

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.