org.openware.loadsim.simulation
Class Config

java.lang.Object
  |
  +--org.openware.loadsim.simulation.Config
All Implemented Interfaces:
java.io.Serializable

public class Config
extends java.lang.Object
implements java.io.Serializable

The Config class is responsible for parsing the XML based configuration file and storing the information so that it can be conveniently accessed by the Simulation.

Author:
Vincent Sheffer
See Also:
Serialized Form

Constructor Summary
Config(java.lang.String filename)
           
 
Method Summary
 java.util.HashMap getContentHandlers()
           
 DataSet getDataSetById(java.lang.String id)
           
 java.util.Iterator getDataSets()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 FileInfo getLogFileInfo()
           
 java.lang.String getOutputHostname()
           
 FileInfo getResultsFileInfo()
           
 ITimer getThrottleTimer()
           
 ITimer getTimer()
           
 ITimer getTimer(java.lang.String tid)
           
 void report(org.xml.sax.SAXException except)
           
 void setOutputHostname(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config(java.lang.String filename)
       throws org.xml.sax.SAXException,
              java.io.IOException,
              ConfigException
Method Detail

getLogFileInfo

public FileInfo getLogFileInfo()

getResultsFileInfo

public FileInfo getResultsFileInfo()

getThrottleTimer

public ITimer getThrottleTimer()

getDescription

public java.lang.String getDescription()

getId

public java.lang.String getId()

getDataSets

public java.util.Iterator getDataSets()

getDataSetById

public DataSet getDataSetById(java.lang.String id)

getTimer

public ITimer getTimer()

getOutputHostname

public java.lang.String getOutputHostname()

setOutputHostname

public void setOutputHostname(java.lang.String name)

getContentHandlers

public java.util.HashMap getContentHandlers()

getTimer

public ITimer getTimer(java.lang.String tid)

report

public void report(org.xml.sax.SAXException except)


Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.