be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.routingGUIModule
Class RoutingGUIModule

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.AbstractGUIModule
      extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.routingGUIModule.RoutingGUIModule
All Implemented Interfaces:
GUIModule

public class RoutingGUIModule
extends AbstractGUIModule

Author:
Olivier Materne (O.Materne@student.ulg.ac.be), Gael Monfort (monfort@run.montefiore.ulg.ac.be)

Constructor Summary
RoutingGUIModule()
          a public constructor with no parameter
 
Method Summary
 java.util.List<java.lang.String> addDetourLsp(java.lang.String lspId, java.lang.String protectedLspId, java.lang.String methodType, java.lang.String protectionType, LSPBackupRouting routing, java.util.HashMap<java.lang.String,java.lang.String> params)
           
 void displayBGPInfo(Node node)
          Display the BGP info of a node
 void displayPanel()
           
 void displayRT(Node node)
          Display the routing table of a node
static RoutingGUIModule getInstance()
           
 javax.swing.JMenu getMenu()
          The method should return the menu you want to add to the gui
 java.lang.String getName()
          Return the name of the module ("Routing")
 boolean isUnloadable()
          A lot of method uses this module, thus it was made impossible to remove
 boolean loadAtStartup()
          This module should be loaded at startup
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.AbstractGUIModule
initialize, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoutingGUIModule

public RoutingGUIModule()
a public constructor with no parameter

Method Detail

getInstance

public static RoutingGUIModule getInstance()

getMenu

public javax.swing.JMenu getMenu()
Description copied from interface: GUIModule
The method should return the menu you want to add to the gui

Returns:
the menu for this GUIModule

getName

public java.lang.String getName()
Return the name of the module ("Routing")

Returns:
the name of this module

loadAtStartup

public boolean loadAtStartup()
This module should be loaded at startup

Specified by:
loadAtStartup in interface GUIModule
Overrides:
loadAtStartup in class AbstractGUIModule
Returns:
true

isUnloadable

public boolean isUnloadable()
A lot of method uses this module, thus it was made impossible to remove

Specified by:
isUnloadable in interface GUIModule
Overrides:
isUnloadable in class AbstractGUIModule
Returns:
true

displayPanel

public void displayPanel()

displayRT

public void displayRT(Node node)
Display the routing table of a node


displayBGPInfo

public void displayBGPInfo(Node node)
Display the BGP info of a node


addDetourLsp

public java.util.List<java.lang.String> addDetourLsp(java.lang.String lspId,
                                                     java.lang.String protectedLspId,
                                                     java.lang.String methodType,
                                                     java.lang.String protectionType,
                                                     LSPBackupRouting routing,
                                                     java.util.HashMap<java.lang.String,java.lang.String> params)
                                              throws NoRouteToHostException,
                                                     RoutingException,
                                                     TotemActionExecutionException,
                                                     LocalDatabaseException
Throws:
NoRouteToHostException
RoutingException
TotemActionExecutionException
LocalDatabaseException


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