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

Method Summary
 ISimulationCompleteCallBack createCallBack(java.lang.String outputHostname, java.lang.String simHostname)
           
 ILog createLog(FileInfo fileinfo, java.lang.String hostname)
          Create the Log object.
 IResults createResults(FileInfo fileinfo, java.lang.String hostname)
          Create the Results object.
 java.util.LinkedList createSimulations(Config config)
          Create the Simulation object.
 

Method Detail

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.