Skip to main content

ModelCenter Remote Execution Java API 2026 R1

Interface: IPHXAnalysisClientListener

Last update: 22.06.2026

Package: com.phoenix_int.aserver.client

Class Hierarchy

↳ java.util.EventListener
  ↳ com.phoenix_int.aserver.client.IPHXAnalysisClientListener

Declaration

public interface IPHXAnalysisClientListener
extends java.util.EventListener

This interface is used by the PHXAnalysisClient class. The onResponse() method is called each time a new response is received from the server.

Method Summary

Modifier and Type Method and Description
void onException(PHXAnalysisClientExceptionEvent e)
Called each time an exception occurs while reading from the connection to ModelCenter Remote Execution.
void onResponse(PHXAnalysisClientEvent e)
Called each time a new response is received from ModelCenter Remote Execution.

Method Detail

onResponse

void onResponse(PHXAnalysisClientEvent e)

Called each time a new response is received from ModelCenter Remote Execution.

Parameters:

  • e - The event structure holding the response object and event id.

onException

void onException(PHXAnalysisClientExceptionEvent e)

Called each time an exception occurs while reading from the connection to ModelCenter Remote Execution.

Parameters:

  • e - The event structure holding the Exception object and event id.

Connect with Ansys