org.openware.loadsim.simulation
Interface ISimulationFactory
- All Known Implementing Classes:
- SimulationFactory, JDFSimulationFactory
- public interface ISimulationFactory
Classes that want to be factories for the simulation must implement this
interface. The simulation factories are used to create certain objects
that are used during the simulation. Currently, there are 2 implementations
of this interface.
- Author:
- Vincent Sheffer
createSimulations
public java.util.LinkedList createSimulations(Config config)
throws java.io.IOException
- Create the
Simulation
object. If the hostname is not null then
the Simulation
object is created on a remote host using the Voyager
ORB. If hostname is null
then the Simulation
object
is just created in the local JVM.
createResults
public IResults createResults(FileInfo fileinfo,
java.lang.String hostname)
throws java.io.IOException
- Create the
Results
object. If the hostname is not null then
the Results
object is created on a remote host using the Voyager
ORB. If hostname is null
then the Results
object
is just created in the local JVM.
createLog
public ILog createLog(FileInfo fileinfo,
java.lang.String hostname)
throws java.io.IOException
- Create the
Log
object. If the hostname is not null then
the Log
object is created on a remote host using the Voyager
ORB. If hostname is null
then the Log
object
is just created in the local JVM.
createCallBack
public ISimulationCompleteCallBack createCallBack(java.lang.String outputHostname,
java.lang.String simHostname)
Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.