Skip to main content

ModelCenter Remote Execution Java API 2026 R1

Interface: IPHXDriver

Last update: 22.06.2026

Package: com.phoenix_int.aserver

Superinterfaces

Related Classes

Declaration

public interface IPHXDriver
    extends IPHXComponent

This is the interface that drivers managed by ModelCenter Remote Execution must implement.

Method Summary

Modifier and Type Method and Description
boolean endIteration()
Performs the second step for an iteration of a driver.
void initializeIterations()
Initializes the driver to a starting state.
void startIteration()
Performs the first step for an iteration of a driver.

Methods inherited from interface com.phoenix_int.aserver.IPHXComponent

end

Method Detail

initializeIterations

void initializeIterations()
                   throws java.lang.Exception

Initializes the driver to a starting state. This function will be called once before a series of step() calls will be made. The function should reset things like iteration counts to initial values.

Throws:

  • java.lang.Exception - thrown if the function does not complete successfully

startIteration

void startIteration()
             throws java.lang.Exception

Performs the first step for an iteration of a driver. The driver should set values for all output reference variables. The client application will load these values and compute new values for the input references.

Throws:

  • java.lang.Exception - thrown if the function does not complete successfully

endIteration

boolean endIteration()
              throws java.lang.Exception

Performs the second step for an iteration of a driver. Prior to calling this function, the client application will have set values for all input reference variables. The driver should use these values to determine the next iteration, if any.

Returns true if another iteration needs to be performed, false if the driver is complete.

Throws:

  • java.lang.Exception - thrown if the function does not complete successfully

Connect with Ansys