be.ac.ulg.montefiore.run.totem.netController.model
Interface NetworkController

All Superinterfaces:
DomainChangeListener

public interface NetworkController
extends DomainChangeListener

This interface must be implemented by all the network controllers. A network controller is a component which listens to the events occurring on a network and which reacts in some way to these events.

Creation date: 23-mars-2005

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

Method Summary
 java.util.List<ParameterDescriptor> getStartParameters()
          Returns the optional parameters that can be given when starting the algorithm
 void start(java.util.HashMap<java.lang.String,java.lang.String> params)
          Starts the network controller.
 void stop()
          Stop the network controller.
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.domain.model.DomainChangeListener
addLinkEvent, addLspEvent, addNodeEvent, linkBandwidthChangeEvent, linkDelayChangeEvent, linkMetricChangeEvent, linkReservedBandwidthChangeEvent, linkStatusChangeEvent, linkTeMetricChangeEvent, lspReservationChangeEvent, lspWorkingPathChangeEvent, nodeLocationChangeEvent, nodeStatusChangeEvent, removeLinkEvent, removeLspEvent, removeNodeEvent, rerouteLspEvent
 

Method Detail

start

void start(java.util.HashMap<java.lang.String,java.lang.String> params)
           throws NetworkControllerInitialisationException
Starts the network controller.

Parameters:
params - The parameters to initialise the network controller. See the specific documentation of each network controller to have a list of the supported parameters.
Throws:
NetworkControllerInitialisationException - If an error occurs during the initialisation of the controller.

stop

void stop()
Stop the network controller. Should remove listeners.


getStartParameters

java.util.List<ParameterDescriptor> getStartParameters()
Returns the optional parameters that can be given when starting the algorithm

Returns:
the list of algorithm parameters


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