Library | File

Class pfcAsyncActionListener

# include <pfcAsyncConnection.h>

class pfcAsyncActionListener
 : public virtual pfcActionListener
{
    xaideclare(pfcAsyncActionListener)
    ...
};



Description

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



Method Summary

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



Method Detail

voidOnTerminate (pfcTerminationStatus 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 pfcAsyncConnection::EventProcess() is being called regularly, or when pfcAsyncConnection::WaitForEvents() will be used, or else its invocation will block Creo Parametric upon exit.
Manual References:
Asynchronous Mode: Full Asynchronous Mode
Parameters:
Status
The type of exit that occurred.
Returns: