Class SimLoader

java.lang.Object
simEngine.SimLoader

public class SimLoader extends Object
This class contains the methods to load the DOM description of a queueing network model from a XML file and then to create a Simulation object from that description. For each node, all parameters and sub-parameters are loaded using the suitable constructors.
Version:
26-ago-2003 14.23.27 Modified by Ashanka (May 2010): Patch: Multi-Sink Perf. Index Description: Added new Performance index for capturing 1. global response time (ResponseTime per Sink) 2. global throughput (Throughput per Sink) each sink per class.
Author:
Federico Granata, Stefano Omini, Bertoli Marco
  • Constructor Details

  • Method Details

    • getSim

      public Simulation getSim()
      Returns the Simulation object which has been created by this SimLoader while loading the queueing network model.
      Returns:
      The simulation created
    • getConstructor

      public Constructor<?> getConstructor(Class<?> c, Class<?>[] paramClasses) throws NoSuchMethodException
      Gets an appropriate constructor for c given the paramClasses
      Parameters:
      c -
      paramClasses -
      Returns:
      found constructor
      Throws:
      NoSuchMethodException - if the operation cannot be completed