Skip to main content

ModelCenter Remote Execution Java API 2026 R1

Interface: IPHXFileCallback

Last update: 22.06.2026

Package: com.phoenix_int.aserver.monitors


Declaration

public interface IPHXFileCallback

Callback interface to signal data available on a file being monitored.

Method Summary

Modifier and Type Method and Description
boolean dataReady(java.lang.String data)
Called when data is ready
boolean fileTruncated()
Indicates that the file was truncated back to 0 bytes.

Method Detail

dataReady

boolean dataReady(java.lang.String data)

Called when data is ready.

Parameters:

  • data - The available data

Returns:

  • true to continue monitoring, false to abort monitoring

fileTruncated

boolean fileTruncated()

Indicates that the file was truncated back to 0 bytes.

Returns:

  • true to continue monitoring, false to abort monitoring

Connect with Ansys