be.ac.ulg.montefiore.run.totem.topgen.topology
Interface TopologyGenerator

All Known Implementing Classes:
AbstractTopologyGenerator, WrapperBrite

public interface TopologyGenerator

Interface of a topology generator

Creation date: Apr 25, 2007

Author:
Georges Nimubona (nimubonageorges@hotmail.com)

Method Summary
 java.util.List<Domain> generate()
          This method generates topology with the setted parameters.
 java.util.List<ParameterDescriptor> getAvailableParameters()
          Returns a list of parameters that can be used with the generator
 java.lang.String getParam(java.lang.String name)
          get the value of the specified parameter.
 void setParam(java.lang.String name, java.lang.String value)
          set user parameters.
 

Method Detail

setParam

void setParam(java.lang.String name,
              java.lang.String value)
              throws InvalidParameterException
set user parameters.

Parameters:
name - name of the parameter.
value - value of the parameter.
Throws:
InvalidParameterException - If the parameter is invalid.

getParam

java.lang.String getParam(java.lang.String name)
                          throws InvalidParameterException
get the value of the specified parameter.

Parameters:
name - name of the parameter.
Returns:
the value of the parameter.
Throws:
InvalidParameterException - If the parameter is invalid.

generate

java.util.List<Domain> generate()
                                throws TopologyGeneratorException
This method generates topology with the setted parameters.

Throws:
TopologyGeneratorException

getAvailableParameters

java.util.List<ParameterDescriptor> getAvailableParameters()
Returns a list of parameters that can be used with the generator

Returns:


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