org.optimizationservices.oscommon.communicationinterface
Interface OScL

All Known Implementing Classes:
OSSimulationAgent

public interface OScL

The OScL interface declares all the methods as specified in the Optimization Services (OS) Framework, specifically the Optimization Services call Language (OScL). These methods are called by an OS agent to invoke any OS-based simulation service. Any simulation service that wants to become an OS-type callable on the distributed system must implement this interface.

Since:
OS 1.0
Version:
1.0, 03/14/2004
Author:
Robert Fourer, Jun Ma, Kipp Martin

Method Summary
 java.lang.String call(java.lang.String osslInput, java.lang.String osol)
          Call a simulation service whose input is given by a string following the Optimization Services simulation Language (OSsL) schema and returns the result in a string that follows the Optimization Services simulation Language (OSsL) schema, since OSsL specifies both simulation service input and output.
 

Method Detail

call

java.lang.String call(java.lang.String osslInput,
                      java.lang.String osol)
Call a simulation service whose input is given by a string following the Optimization Services simulation Language (OSsL) schema and returns the result in a string that follows the Optimization Services simulation Language (OSsL) schema, since OSsL specifies both simulation service input and output.

Parameters:
osslInput - holds the simulation input in a string which format follows the Optimization Services simulation Language (OSsL) schema.
osol - holds the optimization option in a string which format follows the Optimization Services option Language (OSoL) schema.
Returns:
osslOutput, the simulation output in a string which format follows the Optimization Services simulation Language (OSsL) schema.