Library | Package Java Toolkit

Interface AsyncActionListener

package com.ptc.pfc.pfcAsyncConnection;

public interface AsyncActionListener
  extends com.ptc.pfc.pfcBase.ActionListener



Description

This class defines an action listener that notifies you about events specific to asynchronous mode.



Method Summary
voidOnTerminate (TerminationStatus Status)
    This listener method, available only in asynchronous mode, is called when Creo Parametric terminates normally or abnormally.

Method Detail

OnTerminate

voidOnTerminate (TerminationStatus Status)


    This listener method, available only in asynchronous mode, is called when Creo Parametric terminates normally or abnormally.

This listener method should be registered only for the period of time while AsyncConnection.EventProcess() is being called regularly, or when AsyncConnection.WaitForEvents() will be used, or else its invocation will block Creo Parametric upon exit.
Manual References:
Running J-Link Applications in Asynchronous Mode: Full Asynchronous Mode
Parameters:
Status
The type of exit that occurred.
Returns: