> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: IPHXDriver

**Package:** `com.phoenix_int.aserver`

**Superinterfaces**

* [`IPHXComponent`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/IPHXComponent)

**Related Classes**

* [`IPHXAnalysis`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/IPHXAnalysis), [`PHXSimpleSelfManager`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXSimpleSelfManager), [`PHXSimpleSelfManager2`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXSimpleSelfManager2), [`PHXSimpleSelfManager3`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXSimpleSelfManager3), [`PHXComponentBranch`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXComponentBranch), [`PHXComponentDescription`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXComponentDescription), [`PHXComponentVersion`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXComponentVersion), [`PHXGroup`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXGroup), [`PHXMethodDescriptor`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXMethodDescriptor), [`PHXPropertyDescriptor`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXPropertyDescriptor), [`PHXVariableInfo`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXVariableInfo), [`PHXDFTException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXDFTException), [`PHXNoSuchObjectException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXNoSuchObjectException), [`PHXNoSuchWriteableObjectException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXNoSuchWriteableObjectException), [`PHXInvokeReturn`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXInvokeReturn), [`PHXNameAlreadyInUseException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXNameAlreadyInUseException), [`PHXInvalidNameException`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/PHXInvalidNameException)

**Declaration**

```java theme={null}
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`](https://developer.synopsys.com/docs/modelcenter/modelcenter-remote-execution-java-api/com/phoenix_int/aserver/IPHXComponent)

`end`

## Method Detail

### initializeIterations

```java theme={null}
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

```java theme={null}
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

```java theme={null}
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
